One of my colleagues pointed me to an article on using Buildah to create container images: How rootless Buildah works: Building containers in unprivileged environments.
I decided to test it out! In this case, I just wanted to build a container using the shell script method described in the article, rather than using a Dockerfile. Although the rootless aspect is interesting to me, I believe that requires newer versions of Buildah than what is available by default on CentOS 7. A project for another day!
First, I needed a test case. I decided to use my NLTK chatbot container image, which can be found at:
- https://hub.docker.com/repository/docker/cherdt/nltk-chatbot (container image)
- https://github.com/cherdt/docker-nltk-chatbot (Git repo including Dockerfile)