Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ch06-BindMount-App/config #11

Open
eliassal opened this issue Jun 11, 2020 · 0 comments
Open

Ch06-BindMount-App/config #11

eliassal opened this issue Jun 11, 2020 · 0 comments

Comments

@eliassal
Copy link

Elton,
When you create the todo-configured container in CH06, you mount a volume so you can make in read-only mode, overriding configuration which leads to more verbose logging which works fine but database is written to C:data in the container only.
How can we modify/change syntax of the command to mount the 2 volumes, one for the config in readonly mode, 2nd for C:Dat

docker container run --name todo-configured -d -p 8013:80 --mount
type=bind,source=$source,target=$target,readonly diamol/ch06-todo-list
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant