Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
docker:docker [2020/03/05 05:03] – [Dockerfile] tmadedocker:docker [2020/03/08 17:42] – [Dockerfile] tmade
Line 319: Line 319:
  
   docker build --no-cache -t alpine-apache2:3.11 .   docker build --no-cache -t alpine-apache2:3.11 .
-  docker run -d -p 8080:80 -p 8444:443 --hostname myhost.local --name=alpine-apache2-1 alpine-apache2:3.11 +  docker run -it -d -p 80:8080 -p 443:8443 --hostname myhost.local --name=alpine-apache2-1 alpine-apache2:3.11 
-  docker run -d -p 80:80 -p 443:443 --hostname myhost.local --name=alpine-apache2-1 alpine-apache2:3.11+  docker run -it -d -p 80:80 -p 443:443 --hostname myhost.local --name=alpine-apache2-1 alpine-apache2:3.11
   docker container ls -a | grep alpine   docker container ls -a | grep alpine
   docker exec -ti PROCESS-ID /bin/bash   docker exec -ti PROCESS-ID /bin/bash
docker/docker.txt · Last modified: 2024/01/10 16:08 by tmade
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Noncommercial-Share Alike 4.0 International
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki