... | ... | @@ -4,10 +4,12 @@ |
|
|
|
|
|
* Native performance
|
|
|
* Quick setup of specific versions of software
|
|
|
* Disposables by design. The image is reproduceable in creation. The runtime environment is not meant to last, unless the user takes extra steps.
|
|
|
|
|
|
## When not to use
|
|
|
|
|
|
* When using redis/oldb, elastics search, nomad, etc. Containers are not meant to have multiple processes running. Though it can be achieved, it requires extra work.
|
|
|
* Normally you would use separate images/containers for services such as elastic and redis. But that is outside the scope of this wiki. (see man podman-compose)
|
|
|
|
|
|
## Existing images
|
|
|
|
... | ... | @@ -17,6 +19,9 @@ You can use this image as a base and provide depedencies you needs for your soft |
|
|
|
|
|
If you have podman in your machine, you can easily expand on an existing one:
|
|
|
|
|
|
Create a directory, and saves this two files in there:
|
|
|
|
|
|
This is `Containerfile`
|
|
|
```Containerfile
|
|
|
FROM quay.io/recreate0674/esodevenv:latest
|
|
|
RUN dnf -y check-upgrade
|
... | ... | @@ -32,7 +37,7 @@ WORKDIR /root/volume |
|
|
CMD ["bash"]
|
|
|
```
|
|
|
|
|
|
This is the private.lua file:
|
|
|
This is the `private.lua` file:
|
|
|
```
|
|
|
local homedir = os.getenv("HOME")
|
|
|
local introot = pathJoin(homedir .. "/volume/INTROOT")
|
... | ... | |