We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
# docker pull {repository} docker pull localhost:5000/test:1.0
# docker commit -m "{comment}" {container ID} test:1.0 docker commit -m "test" fbe9f9e05780 test:1.1
# docker run -it -d {image ID} docker run -it -d 16508e5c265d
# docker exec -it {container ID} bash docker exec -it fbe9f9e05780 bash
# docker image tag {image ID} {repository} docker image tag 16508e5c265d localhost:5000/test:1.0
# docker push {repository} docker push localhost:5000/test:1.0
# to container # docker cp {path} {container ID}:{path} docker cp /tmp fbe9f9e05780:/tmp # to host # docker cp {container ID}:{path} {path} docker cp fbe9f9e05780:/tmp /tmp
The text was updated successfully, but these errors were encountered:
No branches or pull requests
How to use docker
get an image
# docker pull {repository} docker pull localhost:5000/test:1.0
create an image from container
create container
# docker run -it -d {image ID} docker run -it -d 16508e5c265d
login to container
add a tag
# docker image tag {image ID} {repository} docker image tag 16508e5c265d localhost:5000/test:1.0
register docker registry
# docker push {repository} docker push localhost:5000/test:1.0
copy
The text was updated successfully, but these errors were encountered: