https://github.com/cevich/atomic-transmogrify
Container with fine-grain control over filesystem layout Red Hat Enterprise Linux Atomic Host
https://github.com/cevich/atomic-transmogrify
Last synced: about 2 months ago
JSON representation
Container with fine-grain control over filesystem layout Red Hat Enterprise Linux Atomic Host
- Host: GitHub
- URL: https://github.com/cevich/atomic-transmogrify
- Owner: cevich
- Created: 2015-05-29T17:20:36.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2015-05-29T18:21:23.000Z (about 11 years ago)
- Last Synced: 2025-01-25T11:41:24.467Z (over 1 year ago)
- Language: Shell
- Size: 121 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
Awesome Lists containing this project
README
Container with fine-grain control over filesystem layout
---------------------------------------------------------------------
This container is intended to run on Red Hat Enterprise Linux Atomic Host.
However, by chaning the FROM line in the Dockerfile, it should work with
nearly any other distribution. It's purpose is to allow control over which
parts of the host and/or container filesystems are represented. This is
useful in situations where you want some parts of the filesystem to stick
with the container and others to always come from the host.
#. ``docker build -t transmogrify https://github.com/cevich/atomic-transmogrify.git``
#. ``atomic run transmogrify``
Notes:
* More info on the ``atomic`` command and Project Atomic can be found at
https://github.com/projectatomic/atomic
* Any changes to parts of the filesystem coming from ``HOSTDIRS`` which
depend on ``GRAFTS`` could cause things to break on the host!
**BE CAREFUL**, understand what your are doing/changing *before*
you commit!
* Instead of atomic, start the container with different
options by hand. For example, to modify ``GRAFTS`` or execute
a different program:
``/usr/bin/docker run -t -i --rm``
``--privileged --net=host --ipc=host --pid=host``
``-e GRAFTS="etc tmp root" -v /:/.../host``
``transmogrify``
``/root/bin/utility.sh --command line --options here``