Repository files navigation Do you know what is happening here on the host with the directory structure?
Can you answer this questions before you execute docker-compose build and docker-compose up?
Does the docker-compose build command creates directories on host machine?
Does the docker-compose up command creates directories on host machine?
How many folders are created on your host machine?
How many folders do you have in your running docker container?
Which directory permissions do you have on a Linux system?
Create a file on host ./core folder! Answer true or false if files exists on host
Does ./foo/core on host have a file?
Does ./bar/core on host have a file?
Now, go into the container!
Does /app/foo/core inside the docker container have a file?
docker exec -it ${CONTAINERID} ls -la /app/foo/core
Does /app/bar/core inside the docker container have a file?
docker exec -it ${CONTAINERID} ls -la /app/bar/core
Delete the test file on host in the directory ./core, now!
Create a new file on host in the directory ./foo/core
Is the file on host in ./core ?
Is the file on host in ./bar/core ?
Can you find the file inside the docker container somewhere?
About
What is happening here?
Resources
License
Stars
Watchers
Forks
You can’t perform that action at this time.