I need to run docker engine on my ubuntu host, but also i need to run an https apache server into it, as consequence, starting docker as second service, i will get 443 port as occupied. Can i use another port for docker instead of 443? Thanks
Do you have a container that is published to port 443? What is the output of docker ps ? If you have a container published to port 443, then you can stop/remove it.
Docker Engine runs as a process. The Docker containers expose port/s, which are specified in the Dockerfile such as EXPOSE 80, or in the docker run command with -p
I am not talking about containers, I am talking about the daemon, with my apache https server up and running when I start the daemon it finds the 443 port occupied.
Are Docker Trusted Registry and Docker UCP also used? If so, both of those trying to start on the same default port 443 would cause the error. Start UCP on a different port such as 8443 with --controller-port option.
Is the Docker Engine running? What is the OS and how is Docker Engine installed? What is the output of service docker start service docker status
As mentioned before the Docker Engine itself does not run on a port. As indicated by the command output apache2 is running on 443. Could it be apache2 is getting started again.
@mbortola The docker proxy is not a container so it will not show up when running ‘docker ps’. The docker proxy, from my understanding, is what allows docker to map a host port to a port in a container.
You mentioned that you start the docker daemon by hand. Can you provided the command that you use.