Where to start First steps track · 15 stages
Linux Labs

Containers: Docker and compose

Final test: Containers: Docker and compose

Question 9 of 18
Leave the quiz

Read the output

The ~/notes-host directory is yours, and it is attached to the notes container in place of /data. Why can't you append to notes.txt?

$ ls -l ~/notes-host
-rw-r--r-- 1 root root 6 Oct 20 14:42 notes.txt
$ echo second >> ~/notes-host/notes.txt
-bash: /home/student/notes-host/notes.txt: Permission denied
Back A–D or ↵ Sign in to answer
Loading…