20 questions
0
votes
1
answer
609
views
How to mock fs module together with unionfs?
I have written a test case that successfully load files into virtual FS, and at the same time mounted a virtual volume as below
describe("should work", () => {
const { vol } = require(&...
0
votes
1
answer
246
views
Using unionfs from inside an appimage
I'm creating an overlay FS (using unionfs-fuse) from a script in an AppImage (created with appimage-builder v0.9.2).
The overlay is mounted successfully, but at the end of the script, it fails to ...
6
votes
3
answers
11k
views
overlayfs inside docker container
Is it possible to mount an overlay fs inside a (privileged) docker container? At least my intuitive approach, which works fine outside of a container, fails:
> mkdir /tmp/{up,low,work,merged}
> ...
0
votes
0
answers
243
views
Union Mount in Docker Container
In my Docker container there are two directories with a file in each:
/foo/file1.txt
/bar/file2.txt
How can I mount these directories, such that both files are still acessible?
The result after mount ...
0
votes
1
answer
123
views
How it works when Docker share folder throw instances. Should we consider concurrent modification on one file throw containers?
Basically we should have only one thread to write one file. But in docker environment, should we take care the concurrent problem on share file?
There exit two problems,
How does Docker support for ...
0
votes
1
answer
154
views
docker storage backend and container-generated data storage
I am learning about Docker storage and I am little bit confused about
Question 1 :
Do we have for each docker host 1 backend store ( to store layers of images and writable-layers of containers ) ?
...
1
vote
1
answer
408
views
Give Docker access to host directory but discard changes later
I want to achieve the following with Docker: I want to give a container access to a host directory, such that the container can make changes, but the changes are discarded once the container is ...
2
votes
2
answers
304
views
How file lookup work in Docker container
According to Docker docs, every Dockerfile instruction create a layer, and all the layers are kept when you create new image based on an old one. Then when I create my own image, I might have hundreds ...
14
votes
1
answer
23k
views
multiple volumes to single target directory?
Is there a way to mount multiple volumes from a host to form a single target mount point? A bit like this:
docker run --name ubuntu_bash \
--rm --interactive --tty \
--volume=/media/Large/...
1
vote
1
answer
251
views
Does file touch create a copy in the docker container layer?
What about making only a file timestamp change (i.e. touch'ed) in a docker container? Would UFS (or the varianet used) create a file copy in the docker container layer or is it able to handle this ...
6
votes
2
answers
3k
views
How does Docker keep the image immutable
From the Docker documentation :
The Docker image is read-only. When Docker runs a container from an image, it adds a read-write layer on top of the image (using a UnionFS) in which your application ...
13
votes
4
answers
10k
views
What's the reason for the 42 layer limit in Docker? [closed]
At different places I found the information that a docker image can only consist of up to 42 layers. This seems to be a limitation of the used AUFS file system.
Can anybody tell me why this limit ...
3
votes
0
answers
792
views
Does Overlayfs support upper layer to be nfs export?
Does overlayfs support having upper layer as nfs mount point? I am able to have lower layer as nfs mount point but not upper? Any workaround possible?
Kernel version -> 4.4.0-21-generic
Ubuntu 16....
6
votes
1
answer
476
views
Eliminating the impact of UnionFS on results when benchmarking inside Docker
I am trying to benchmark the overall system performance of running Docker using the Phoronix Test Suite 6.4.0 Milestone 2 running inside a fedora:23 image based container.
One thing that must be ...
6
votes
1
answer
2k
views
Union mounts into Docker containers
If I have a directory d1/, I know I can mount it at /mountPoint inside a Docker container by doing this:
docker run -v /path/to/d1:/mountPoint ...
However, I have two directories d1/ and d2/ (let's ...