文章

About docker usage

Docker Usage

See docker running images:

docker ps

Stop docker image:

docker stop 5c41d2485681

The number is container ID

See images:

docker images

delete image:

docker rmi ID

How to running an image with docker compose?

  1. mkdir and copy docker-compose code into docker-compose.yml

  2. then execute: docker compose up -d

  3. update the nginx settings, broadcast the port.

  4. nginx -s reload.

License:  CC BY 4.0