title: Can I deploy a container registry and host a HTTPS webserver on the same system?
body: <p>I am running a HTTPS webserver. On the same host, I would like to run a docker container registry.</p>
  <p>According to <a href="https://docs.docker.com/registry/deploying/#run-an-externally-accessible-registry" rel="nofollow noreferrer">this tutorial</a>, I need to run this command:</p>
  <pre><code> docker run -d \
    --restart=always \
    --name registry \
    -v &quot;$(pwd)&quot;/certs:/certs \
    -e REGISTRY_HTTP_ADDR=0.0.0.0:443 \
    -e REGISTRY_HTTP_TLS_CERTIFICATE=/certs/domain.crt \
    -e REGISTRY_HTTP_TLS_KEY=/certs/domain.key \
    -p 443:443 \
    registry:2
  </code></pre>
  <p>But my nginx server already has 443 bound. So I guess I can't run the container registry with this port. What are my options here? Can I just use something other than 443?</p>