Differences

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

Link to this comparison view

Both sides previous revision Previous revision
docker:docker [2020/06/20 19:42]
tmade [Commands]
docker:docker [2020/06/23 09:24] (current)
tmade [Commands]
Line 89: Line 89:
 ===Deploy Container=== ===Deploy Container===
  
-  docker run ubuntu:16.04                                                             #Download ans install ubuntu 16.04 +  docker run ubuntu:16.04                                                                                      #Download ans install ubuntu 16.04.
-  docker run --name=mysql-01 -d mysql/mysql-server:latest+
   docker run --name=mysql-01 -d mysql/mysql-server:latest   docker run --name=mysql-01 -d mysql/mysql-server:latest
   docker run --name=ubuntu16.04-squid-1 ubuntu:16.04   docker run --name=ubuntu16.04-squid-1 ubuntu:16.04
-  docker run -d -p 8080:8080 --name=ubuntu16.04-squid-2 -ti ubuntu:16.04              #Deploy and keep running container from image "ubuntu:16.04"+  docker run -d -p 8080:8080 --name=ubuntu16.04-squid-2 -ti ubuntu:16.04                                       #Deploy and keep running container from image "ubuntu:16.04" 
 +  docker run --rm -i --user="$(id -u):$(id -g)" --net=none -v "$PWD":/data blang/latex xelatex article.tex
   docker run --name=mysql01 -d mysql:dockerfile   docker run --name=mysql01 -d mysql:dockerfile
   docker run -d -p 3306:3306 -v /path/in/host:/var/lib/mysql dordoka/rpi-mysql   docker run -d -p 3306:3306 -v /path/in/host:/var/lib/mysql dordoka/rpi-mysql
docker/docker.txt · Last modified: 2020/06/23 09:24 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