Tasuta konverter
Dockeri käsud Petuleht
Põhjalik Dockeri käskude petuleht. Otsige 70+ olulisest Dockeri käsust koos näidete, kirjelduste ja ühe klõpsuga koopiaga.
docker run
Create and start a new container from an image
Näide:
docker run -d -p 80:80 --name web nginxdocker run -it
Run a container interactively with a terminal
Näide:
docker run -it ubuntu bashdocker run --rm
Run a container and remove it automatically when it exits
Näide:
docker run --rm alpine echo 'hello'docker run -e
Set environment variables in a container
Näide:
docker run -e NODE_ENV=production node:18docker run -v
Mount a volume or bind mount into a container
Näide:
docker run -v /host/path:/container/path nginxdocker start
Start one or more stopped containers
Näide:
docker start my-containerdocker stop
Stop one or more running containers gracefully
Näide:
docker stop my-containerdocker restart
Restart one or more containers
Näide:
docker restart my-containerdocker rm
Remove one or more stopped containers
Näide:
docker rm my-containerdocker rm -f
Force-remove a running container
Näide:
docker rm -f my-containerdocker ps
List running containers
Näide:
docker psdocker ps -a
List all containers including stopped ones
Näide:
docker ps -adocker exec
Run a command in a running container
Näide:
docker exec -it my-container bashdocker logs
Fetch logs from a container
Näide:
docker logs -f --tail 100 my-containerdocker inspect
Return low-level information about a container or image
Näide:
docker inspect my-containerdocker stats
Display live resource usage statistics for containers
Näide:
docker stats my-containerdocker top
Display running processes inside a container
Näide:
docker top my-containerdocker pause
Pause all processes within a container
Näide:
docker pause my-containerdocker unpause
Unpause all processes within a paused container
Näide:
docker unpause my-containerdocker rename
Rename an existing container
Näide:
docker rename old-name new-namedocker kill
Kill a running container by sending a signal
Näide:
docker kill --signal=SIGTERM my-containerdocker cp
Copy files between a container and the host filesystem
Näide:
docker cp my-container:/app/config.json ./config.jsondocker attach
Attach local I/O streams to a running container
Näide:
docker attach my-containerdocker pull
Download an image from a registry
Näide:
docker pull nginx:latestdocker push
Upload an image to a registry
Näide:
docker push myuser/myimage:v1.0docker build
Build an image from a Dockerfile
Näide:
docker build -t myapp:latest .docker build --no-cache
Build an image without using the layer cache
Näide:
docker build --no-cache -t myapp:latest .docker images
List all locally available images
Näide:
docker imagesdocker rmi
Remove one or more images
Näide:
docker rmi nginx:old myimage:v1docker tag
Create a tag referencing a source image
Näide:
docker tag myapp:latest myuser/myapp:v2.0docker history
Show the history of an image's layers
Näide:
docker history nginx:latestdocker save
Save an image to a tar archive
Näide:
docker save -o myimage.tar myapp:latestdocker load
Load an image from a tar archive
Näide:
docker load -i myimage.tardocker import
Import a tarball to create a filesystem image
Näide:
docker import mycontainer.tar myimage:importeddocker export
Export a container's filesystem as a tar archive
Näide:
docker export my-container > mycontainer.tardocker commit
Create a new image from a container's changes
Näide:
docker commit my-container myimage:snapshotdocker image prune
Remove unused (dangling) images
Näide:
docker image prune -adocker network create
Create a new network
Näide:
docker network create --driver bridge my-networkdocker network ls
List all networks
Näide:
docker network lsdocker network rm
Remove one or more networks
Näide:
docker network rm my-networkdocker network inspect
Show detailed information about a network
Näide:
docker network inspect my-networkdocker network connect
Connect a running container to a network
Näide:
docker network connect my-network my-containerdocker network disconnect
Disconnect a container from a network
Näide:
docker network disconnect my-network my-containerdocker network prune
Remove all unused networks
Näide:
docker network prunedocker volume create
Create a named volume
Näide:
docker volume create my-volumedocker volume ls
List all volumes
Näide:
docker volume lsdocker volume rm
Remove one or more volumes
Näide:
docker volume rm my-volumedocker volume inspect
Display detailed information about a volume
Näide:
docker volume inspect my-volumedocker volume prune
Remove all unused local volumes
Näide:
docker volume prunedocker compose up
Create and start all services defined in compose file
Näide:
docker compose up -ddocker compose down
Stop and remove containers, networks from compose
Näide:
docker compose down --volumesdocker compose ps
List containers for a compose project
Näide:
docker compose psdocker compose logs
View output from compose service containers
Näide:
docker compose logs -f webdocker compose build
Build or rebuild services defined in compose file
Näide:
docker compose build --no-cache webdocker compose pull
Pull service images defined in the compose file
Näide:
docker compose pulldocker compose restart
Restart service containers
Näide:
docker compose restart webdocker compose exec
Execute a command in a running service container
Näide:
docker compose exec web bashdocker compose run
Run a one-off command on a service
Näide:
docker compose run --rm web npm testdocker compose stop
Stop running containers without removing them
Näide:
docker compose stop webdocker compose config
Validate and view the merged compose configuration
Näide:
docker compose configdocker info
Display system-wide Docker information
Näide:
docker infodocker version
Show the Docker client and daemon version
Näide:
docker versiondocker system df
Show disk usage by Docker objects
Näide:
docker system df -vdocker system prune
Remove all unused Docker resources at once
Näide:
docker system prune -a --volumesdocker events
Stream real-time events from the Docker daemon
Näide:
docker events --filter type=containerdocker login
Log in to a Docker registry
Näide:
docker login registry.example.comdocker logout
Log out from a Docker registry
Näide:
docker logout registry.example.comdocker search
Search Docker Hub for images
Näide:
docker search --filter stars=100 nginxdocker context ls
List available Docker contexts
Näide:
docker context lsdocker context use
Switch the active Docker context
Näide:
docker context use my-remote-hostSeotud tööriistad
Vaata kõiki tööriistuGit käsud Petuleht
Põhjalik Giti käskude petuleht. Otsige 80+ olulist Giti käsku koos näidete, kirjelduste ja ühe klõpsuga koopiaga.
Vimi käsud Petuleht
Põhjalik Vimi käskude petuleht. Otsige 80+ olulist Vimi käsku koos näidete, kirjelduste ja ühe klõpsuga koopiaga.
Linux / Bash Käskude petuleht
Põhjalik Linuxi ja Bashi käskude petuleht. Otsige 80+ olulist käsku koos näidete, kirjelduste ja ühe klõpsuga koopiaga.
SQL vormindaja & Kaunistaja
Vormindage, kaunistage ja puhastage SQL-päringuid koheselt oma brauseris. Üleslaadimine pole vajalik – täiesti privaatne ja tasuta.