Skip to content
New issue

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

Start a commited container in another machine #43

Open
dflourusso opened this issue May 8, 2018 · 1 comment
Open

Start a commited container in another machine #43

dflourusso opened this issue May 8, 2018 · 1 comment

Comments

@dflourusso
Copy link

I've a container running in a host and need save it to share with anothers. Follow my steps:

  1. docker commit <my-container-id> <my-image-name>
  2. docker save -o <my-image-name>.tar <my-image-name>
  3. Copy the tar file to another host.
  4. docker load -i <my-image-name>.tar
  5. docker run -d -p 8080:8080 -p 1521:1521 <my-image-name>

But it does not works anymore. What is wrong?

@MaksymBilenko
Copy link
Owner

This might be an issue:

VOLUME ["/u01/app/oracle"]

It would be easier to copy database files instead of committing container

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants