docker about code example
Example 1: what is docker used for
Docker is the best tool you can use if you want to develope one single
application that can run and work uniformly at any environment, laptop
or public cloud instance thanks to its convergent virtualized packages
called containers!!
Example 2: docker container
docker container ls -a
docker ps -a
docker container stop [ID]
docker container run -d -p 80:80 --name nginx-server nginx