Moving common stuff to the README
FossilOrigin-Name: 0ca48a90e96d90494b64706ba83b855ce924c05bca37afe68aa58f5ebbf60387
This commit is contained in:
parent
4027062363
commit
a347ea4844
16
README.md
16
README.md
@ -6,6 +6,22 @@ NOTE: You'll need TCL installed on your system. I use my own copy of `tangle`
|
|||||||
based on literate programming. If you want to use a docker file, you'll have
|
based on literate programming. If you want to use a docker file, you'll have
|
||||||
to generate it.
|
to generate it.
|
||||||
|
|
||||||
|
## Standard Docker Stuff
|
||||||
|
|
||||||
|
I like to insure that my containers follow a few simple rules.
|
||||||
|
|
||||||
|
* Never run as root.
|
||||||
|
* For containers, I liked to have a single user I run in.
|
||||||
|
* Needed software and configuration that requires root should be done first.
|
||||||
|
* At the end, the container should default to be running as that user.
|
||||||
|
|
||||||
|
* A set working directory that can be a docker volume or a volume passed from the host.
|
||||||
|
* This present a challenge in make sure that that uid/gid is correct between the active user and the directory.
|
||||||
|
* When using a host volume, I also have to make sure the UID/GID matches to not have any permission issues.
|
||||||
|
|
||||||
|
* While we also like to use the latest version of a base docker image, that isn't always possible.
|
||||||
|
* We should default to building the latest version, but allow for changing that.
|
||||||
|
|
||||||
## Docker Files
|
## Docker Files
|
||||||
|
|
||||||
* ubi9+epel
|
* ubi9+epel
|
||||||
|
16
ubi9+epel.md
16
ubi9+epel.md
@ -9,22 +9,6 @@ something I use consistently with the RHel based images.
|
|||||||
There are a few other things I liked to do with my docker images to help
|
There are a few other things I liked to do with my docker images to help
|
||||||
make development and usage a bit more standardized.
|
make development and usage a bit more standardized.
|
||||||
|
|
||||||
## Standard Docker Stuff
|
|
||||||
|
|
||||||
I like to insure that my containers follow a few simple rules.
|
|
||||||
|
|
||||||
* Never run as root.
|
|
||||||
* For containers, I liked to have a single user I run in.
|
|
||||||
* Needed software and configuration that requires root should be done first.
|
|
||||||
* At the end, the container should default to be running as that user.
|
|
||||||
|
|
||||||
* A set working directory that can be a docker volume or a volume passed from the host.
|
|
||||||
* This present a challenge in make sure that that uid/gid is correct between the active user and the directory.
|
|
||||||
* When using a host volume, I also have to make sure the UID/GID matches to not have any permission issues.
|
|
||||||
|
|
||||||
* While we also like to use the latest version of a base docker image, that isn't always possible.
|
|
||||||
* We should default to building the latest version, but allow for changing that.
|
|
||||||
|
|
||||||
## UBI9+EPEL Docker Image
|
## UBI9+EPEL Docker Image
|
||||||
|
|
||||||
### Setup FROM and enable a version choice.
|
### Setup FROM and enable a version choice.
|
||||||
|
Loading…
Reference in New Issue
Block a user