Docker container command Daquan

Container command:

command description
attach The local standard input, output and error to flow into the container running
build Build the image from Dockerfile
commit Create a new image based on the changes of the container
cp Between the container and the local file system copy files / folders
create Create a new container
diff Change the file or directory to check the container file system
events Get real-time events from the server
exec In the container running run the command
export The container is exported file system tar archive
history Show History mirrored
images Listed Mirror
import From the tar archive to import content to create a file system image
info System-wide information display
inspect Return to low-level information about the object Docker
kill Kill one or more containers running
load Load the image from the tar archive or STDIN
login Login Docker Hub
logout Exit from Docker Hub
logs Get Logs container
pause Suspend all processes one or more containers
port Map lists specific port mapping or container
ps Listed container
pull Mirror extract from the registry or repository
push The image library or push registry
rename Rename container
restart Restart one or more containers
rm Remove one or more containers
rmi Remove one or more mirrors
run In the new vessel run the command
save Save one or more mirrors to tar archive (default downflow transfer to STDOUT)
search Search mirror Docker Hub in
start Start with one or more of the stopped container
stats Display real-time streaming resource usage statistics containers
stop Stop running one or more containers
tag Create a reference SOURCE_IMAGE (source image) mark TARGET_IMAGE (target image)
top Display running processes container
unpause Cancel all processes suspend one or more containers
update Updating one or more containers arranged
version Docker display version information
wait Block until one or more containers to stop, and then print exit code

More comprehensive Docker command Daquan

Guess you like

Origin blog.51cto.com/13578973/2435690