A dumping ground from some of my docker misadventures.
Go to file
mek 5da5af3d42 Adding podman build container image
FossilOrigin-Name: d2aa4c1b7aad2069d05a56e51e1f19086262743f78fc987433efa702d1bd1a9f
2023-04-19 15:52:01 +00:00
.fossil-settings Adding podman build container image 2023-04-19 15:52:01 +00:00
files/podman Adding podman build container image 2023-04-19 15:52:01 +00:00
scripts Cleaned up a few things and added a make test to do a quick build test 2023-04-10 18:01:35 +00:00
.gitignore Adding my gitignore 2023-04-05 15:28:27 +00:00
Makefile Adding podman build container image 2023-04-19 15:52:01 +00:00
README.md Adding podman build container image 2023-04-19 15:52:01 +00:00
alpine.md Cleaned up a few things and added a make test to do a quick build test 2023-04-10 18:01:35 +00:00
fossil.md Adding fossilserver to fossil docker documentation. 2023-04-13 18:53:00 +00:00
opensuse.md Adding date for testing 2023-04-10 11:37:08 +00:00
podman.md Adding podman build container image 2023-04-19 15:52:01 +00:00
ubi9epel.md ignoreing dockerfiles 2023-04-10 18:04:14 +00:00
ubuntu.md Cleaned up a few things and added a make test to do a quick build test 2023-04-10 18:01:35 +00:00

README.md

Mat's Docker Image collection

Various Docker files that I use.

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 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

  • ubi9epel
    • Redhat's Universal Base Image (UBI) for RHEL9, with epel installed and read for use.
  • ubuntu
    • Yes, I use Ubuntu from time to time.
  • fossil
    • I use fossil quite a bit. Nice to have an easy way to run it. I would recommend use the Dockerfile provide by fossil. I have this one here to highlight the usage of the scratch docker image.
    • This also includes a fossilserver docker file that can be used to run a repolist server to make all the fossil repositories in a directory available.
  • opensuse
    • OpenSuse is my favorite development Linux distrobution.
  • alpine
    • Need a good base alpine image to use for deployments.
  • podman
    • A UBI9 based podman container to build docker images.
    • include storage.conf

As always, go Guardians!