niammuddin

docker webserver

Nov 25th, 2021
828
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. 8ct8pus/apache-php-fpm-alpine:1.1.3
  2.  
  3. docker run -it alpine
  4. docker ps
  5. docker commit cdb5946a4445 myalpine
  6.  
  7.  
  8. docker run -p 80:80 -p 443:443 --name web myalpine
  9. docker run -d -t -p 80:80 --name web webserver
  10.  
  11. linux
  12. docker exec -it webserver bash
  13.  
  14. alpine
  15. docker exec -it web /bin/sh
  16.  
  17. apk add openrc
  18.  
  19.  
RAW Paste Data