> How does this allocate on the given LUNS or storage ?
By default, it allocates all data in /var/lib/docker. You should start the
container pointing it somewhere else, or you will end up filling up
/var/lib/docker with the database, and it's not good nor performing.
You will probably want to mount a FCP device somewhere on the host and use
the --volume parameter to attach it inside the container.

> Can I customise a existing docker image ?
Sort of. There are 2 main ways of getting an image: the exported image
(like a program binary), and the Dockerfile (like the program source code).
The latter is preferred, as you can easily change anything you want, and a
Dockerfile is very small (few kb at most). The downside is that not every
image will have the Dockerfile available. And most Dockerfiles depend on
another Dockerfile, that depends on another Dockerfile... and you got it.
To build everything, you must track all Dockerfiles and build each one. But
it's doable. Updating the image is easy too: just run docker build again
and it creates an updated image.

The exported image is larger, multi-GB images are common, and they are more
troublesome to customize. You need to deploy the image as a container,
change whatever you need, save the container as a new image, and export it
if you want to share. Updating it is complicated too: you need to spin up
the image on a container, run yum or apt or zypper to update it, and save
again. The upside is that you don't need to track dependent Dockerfiles,
just export the image and it's done.

Mauro
http://mauro.limeiratem.com - registered Linux User: 294521
Scripture is both history, and a love letter from God.


Em ter., 16 de jun. de 2020 às 04:00, Peter <dbajava...@gmail.com> escreveu:

> Hello
>
> When we pull a docker image of oracle on zlinux. How does this allocate on
> the given LUNS or storage ? Can I customise a existing docker image ?
>
> Peter
>
> ----------------------------------------------------------------------
> For LINUX-390 subscribe / signoff / archive access instructions,
> send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or
> visit
> http://www2.marist.edu/htbin/wlvindex?LINUX-390
>

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www2.marist.edu/htbin/wlvindex?LINUX-390

Reply via email to