แปลงฟรี
คำสั่งนักเทียบท่า แผ่นโกง
แผ่นโกงคำสั่ง Docker ที่ครอบคลุม ค้นหาคำสั่ง Docker ที่จำเป็นมากกว่า 70 รายการพร้อมตัวอย่าง คำอธิบาย และการคัดลอกในคลิกเดียว
docker run
Create and start a new container from an image
ตัวอย่าง:
docker run -d -p 80:80 --name web nginxdocker run -it
Run a container interactively with a terminal
ตัวอย่าง:
docker run -it ubuntu bashdocker run --rm
Run a container and remove it automatically when it exits
ตัวอย่าง:
docker run --rm alpine echo 'hello'docker run -e
Set environment variables in a container
ตัวอย่าง:
docker run -e NODE_ENV=production node:18docker run -v
Mount a volume or bind mount into a container
ตัวอย่าง:
docker run -v /host/path:/container/path nginxdocker start
Start one or more stopped containers
ตัวอย่าง:
docker start my-containerdocker stop
Stop one or more running containers gracefully
ตัวอย่าง:
docker stop my-containerdocker restart
Restart one or more containers
ตัวอย่าง:
docker restart my-containerdocker rm
Remove one or more stopped containers
ตัวอย่าง:
docker rm my-containerdocker rm -f
Force-remove a running container
ตัวอย่าง:
docker rm -f my-containerdocker ps
List running containers
ตัวอย่าง:
docker psdocker ps -a
List all containers including stopped ones
ตัวอย่าง:
docker ps -adocker exec
Run a command in a running container
ตัวอย่าง:
docker exec -it my-container bashdocker logs
Fetch logs from a container
ตัวอย่าง:
docker logs -f --tail 100 my-containerdocker inspect
Return low-level information about a container or image
ตัวอย่าง:
docker inspect my-containerdocker stats
Display live resource usage statistics for containers
ตัวอย่าง:
docker stats my-containerdocker top
Display running processes inside a container
ตัวอย่าง:
docker top my-containerdocker pause
Pause all processes within a container
ตัวอย่าง:
docker pause my-containerdocker unpause
Unpause all processes within a paused container
ตัวอย่าง:
docker unpause my-containerdocker rename
Rename an existing container
ตัวอย่าง:
docker rename old-name new-namedocker kill
Kill a running container by sending a signal
ตัวอย่าง:
docker kill --signal=SIGTERM my-containerdocker cp
Copy files between a container and the host filesystem
ตัวอย่าง:
docker cp my-container:/app/config.json ./config.jsondocker attach
Attach local I/O streams to a running container
ตัวอย่าง:
docker attach my-containerdocker pull
Download an image from a registry
ตัวอย่าง:
docker pull nginx:latestdocker push
Upload an image to a registry
ตัวอย่าง:
docker push myuser/myimage:v1.0docker build
Build an image from a Dockerfile
ตัวอย่าง:
docker build -t myapp:latest .docker build --no-cache
Build an image without using the layer cache
ตัวอย่าง:
docker build --no-cache -t myapp:latest .docker images
List all locally available images
ตัวอย่าง:
docker imagesdocker rmi
Remove one or more images
ตัวอย่าง:
docker rmi nginx:old myimage:v1docker tag
Create a tag referencing a source image
ตัวอย่าง:
docker tag myapp:latest myuser/myapp:v2.0docker history
Show the history of an image's layers
ตัวอย่าง:
docker history nginx:latestdocker save
Save an image to a tar archive
ตัวอย่าง:
docker save -o myimage.tar myapp:latestdocker load
Load an image from a tar archive
ตัวอย่าง:
docker load -i myimage.tardocker import
Import a tarball to create a filesystem image
ตัวอย่าง:
docker import mycontainer.tar myimage:importeddocker export
Export a container's filesystem as a tar archive
ตัวอย่าง:
docker export my-container > mycontainer.tardocker commit
Create a new image from a container's changes
ตัวอย่าง:
docker commit my-container myimage:snapshotdocker image prune
Remove unused (dangling) images
ตัวอย่าง:
docker image prune -adocker network create
Create a new network
ตัวอย่าง:
docker network create --driver bridge my-networkdocker network ls
List all networks
ตัวอย่าง:
docker network lsdocker network rm
Remove one or more networks
ตัวอย่าง:
docker network rm my-networkdocker network inspect
Show detailed information about a network
ตัวอย่าง:
docker network inspect my-networkdocker network connect
Connect a running container to a network
ตัวอย่าง:
docker network connect my-network my-containerdocker network disconnect
Disconnect a container from a network
ตัวอย่าง:
docker network disconnect my-network my-containerdocker network prune
Remove all unused networks
ตัวอย่าง:
docker network prunedocker volume create
Create a named volume
ตัวอย่าง:
docker volume create my-volumedocker volume ls
List all volumes
ตัวอย่าง:
docker volume lsdocker volume rm
Remove one or more volumes
ตัวอย่าง:
docker volume rm my-volumedocker volume inspect
Display detailed information about a volume
ตัวอย่าง:
docker volume inspect my-volumedocker volume prune
Remove all unused local volumes
ตัวอย่าง:
docker volume prunedocker compose up
Create and start all services defined in compose file
ตัวอย่าง:
docker compose up -ddocker compose down
Stop and remove containers, networks from compose
ตัวอย่าง:
docker compose down --volumesdocker compose ps
List containers for a compose project
ตัวอย่าง:
docker compose psdocker compose logs
View output from compose service containers
ตัวอย่าง:
docker compose logs -f webdocker compose build
Build or rebuild services defined in compose file
ตัวอย่าง:
docker compose build --no-cache webdocker compose pull
Pull service images defined in the compose file
ตัวอย่าง:
docker compose pulldocker compose restart
Restart service containers
ตัวอย่าง:
docker compose restart webdocker compose exec
Execute a command in a running service container
ตัวอย่าง:
docker compose exec web bashdocker compose run
Run a one-off command on a service
ตัวอย่าง:
docker compose run --rm web npm testdocker compose stop
Stop running containers without removing them
ตัวอย่าง:
docker compose stop webdocker compose config
Validate and view the merged compose configuration
ตัวอย่าง:
docker compose configdocker info
Display system-wide Docker information
ตัวอย่าง:
docker infodocker version
Show the Docker client and daemon version
ตัวอย่าง:
docker versiondocker system df
Show disk usage by Docker objects
ตัวอย่าง:
docker system df -vdocker system prune
Remove all unused Docker resources at once
ตัวอย่าง:
docker system prune -a --volumesdocker events
Stream real-time events from the Docker daemon
ตัวอย่าง:
docker events --filter type=containerdocker login
Log in to a Docker registry
ตัวอย่าง:
docker login registry.example.comdocker logout
Log out from a Docker registry
ตัวอย่าง:
docker logout registry.example.comdocker search
Search Docker Hub for images
ตัวอย่าง:
docker search --filter stars=100 nginxdocker context ls
List available Docker contexts
ตัวอย่าง:
docker context lsdocker context use
Switch the active Docker context
ตัวอย่าง:
docker context use my-remote-hostเครื่องมือที่เกี่ยวข้อง
ดูเครื่องมือทั้งหมดคำสั่ง Git แผ่นโกง
แผ่นโกงคำสั่ง Git ที่ครอบคลุม ค้นหาคำสั่ง Git ที่จำเป็นกว่า 80 รายการพร้อมตัวอย่าง คำอธิบาย และการคัดลอกในคลิกเดียว
คำสั่งเป็นกลุ่ม แผ่นโกง
แผ่นโกงคำสั่ง Vim ที่ครอบคลุม ค้นหาคำสั่ง Vim ที่จำเป็นมากกว่า 80 รายการพร้อมตัวอย่าง คำอธิบาย และการคัดลอกในคลิกเดียว
ลินุกซ์ / ทุบตี แผ่นโกงคำสั่ง
แผ่นโกงคำสั่ง Linux และ Bash ที่ครอบคลุม ค้นหาคำสั่งที่จำเป็นมากกว่า 80 รายการพร้อมตัวอย่าง คำอธิบาย และการคัดลอกในคลิกเดียว
ตัวจัดรูปแบบ SQL & บิวตี้ฟายเออร์
จัดรูปแบบ ตกแต่ง และล้างคำสั่ง SQL ทันทีในเบราว์เซอร์ของคุณ ไม่จำเป็นต้องอัปโหลด — เป็นส่วนตัวโดยสมบูรณ์และฟรี