Skip to content

Instantly share code, notes, and snippets.

@eluleci
Last active August 29, 2015 14:12
Show Gist options
  • Save eluleci/0ef13d1ad1e303b39449 to your computer and use it in GitHub Desktop.
Save eluleci/0ef13d1ad1e303b39449 to your computer and use it in GitHub Desktop.
Docker useful commands

working with docker in terminal

$(boot2docker shellinit)

searching image from remote

docker search IMAGE_NAME

pulling image from remote

docker pull IMAGE_OWNER/IMAGE_NAME

running image with params

docker run OWNER/NAME PARAMS

list images

docker ps -l

save changes on images

docker commit IMAGE_ID IMAGE_NAME

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment