Does it import an image or a container? If it’s a container, try start instead of run.
I haven’t tried it yet, but I use commit quite often. Make sure the run command is the same which you used to start it, e.g. include ports, names, links etc.
Expected: As per features we were expecting the exact clone (oracle database) of source to target.
In Source server;
Installed oracle database.
Created some data (tables with data)
Committed and saved the docker image.
Moved the tar file to target server.
In Target Server:
Load the tar file
Image is loaded
Docker run
But the o/p is creating a new database and I couldnt see any data created in source.
Scenario 2:
“How does a Docker image work?
We’ve already seen that Docker images are read-only templates from which Docker containers are launched. Each image consists of a series of layers. Docker makes use of union file systems to combine these layers into a single image. Union file systems allow files and directories of separate file systems, known as branches, to be transparently overlaid, forming a single coherent file system.”
How to perform this scenario when comes to oracle databae?