Docker run command is not correct in README file
I followed the steps of the README file, however found that Docker Run command was not correct
The suggestion is to use docker run --rm -p 443:443 pintura
however the nginx service running in the container is not listening on port 443, it is listening on port 80 only.
I had to install the following packages to find this out
apt-get install procps net-tools
ps -a
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 1 0.0 0.2 32432 5188 ? Ss 15:22 0:00 nginx: master p
nginx 7 0.0 0.1 32904 2504 ? S 15:22 0:00 nginx: worker p
root 8 0.0 0.1 18132 3196 pts/0 Ss 15:24 0:00 bash
root 266 0.0 0.1 36632 2748 pts/0 R+ 15:34 0:00 ps -aux
And then
netstat -pln
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 1/nginx: master pro
Active UNIX domain sockets (only servers)
Proto RefCnt Flags Type State I-Node PID/Program name Path
When using the following command (for testing)
docker run -d --rm -p 3443:443 -p 3080:80 --name reservepintura pintura
I was able to view Pintura service at http://localhost:3080