Professional Documents
Culture Documents
3
Student Name: Biki Kumar Rai UID: 22MCC20118
Branch: MCA - CCD Section/Group: 22MCD-2/ Grp B
Semester: III Date of Performance: 26th Sep, 23
Subject Name: Docker Lab Subject Code: 22CAH-742
Bind Mount
Any changes made in this directory will be reflected on the host machine.
Step 4: Exit the Container:
When you're done working inside the container, you can exit by typing exit.
tmpfs mount
Step 1: Start an Ubuntu container with a tmpfs mount:
docker run -it --name my_container --tmpfs /data ubuntu
Step 3: Any changes made in this directory will be stored in the host's memory
temporarily.
Step 7: Enter the container and check if the file or directory you created in the /data
directory still exists:
cd /data
ls