1 |
docker ps -a |
2 |
docker pull |
3 |
docker build -t my_container |
4 |
docker run my_image -it bash |
5 |
docker logs --follow my_container |
6 |
docker volume ls |
7 |
docker rm my_container |
8 |
docker rmi my_image |
9 |
docker stop $(docker ps -q) |
10 |
docker rm $(docker ps -a -q) |
11 |
docker rmi $(docker images -q) |
12 |
docker start my_container |
13 |
docker exec -it my_container bash |
14 |
docker run -d helloworld:latest |
15 |
docker pause my_container |
16 |
docker run -p 80:8080 -p 443:4430 |
17 |
docker images |
18 |
docker inspect my_container |
19 |
docker version |
20 |
docker ps -a --filter status=dead --filter status=exited --last 1 |
21 |
docker system prune |
22 |
docker save your_docker_image:latest > your_docker_image.tar |
23 |
docker load < your_docker_image.tar |
24 |
docker-compose up -d |
25 |
docker-compose start |
26 |
docker-compose down |
27 |
docker-compose stop |
Комментарии