Docker sq
Docker Fundamentals - Getting Started

Data in Containers


Data in Containers

The nginx documentation can be found at and will be helpful in hosting simple static content.

The -v or --volume flag lets you mount local file directories into the nginx directory using the command docker container run -p 80:80 --name some-nginx -v /some/content:/usr/share/nginx/html:ro -d nginx.

You can view the results in your browser by viewing localhost.