Skip to content

boltops-learn-docs/docker-volumes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

NOTE: This repo contains only the documentation for the private BoltsOps repo code. Original file: https://github.com/boltops-learn/docker-volumes/blob/master/README.md The docs are publish so they are available for interested subscribers. For access to the source code, you can become a BoltOps subscriber. See: https://learn.boltops.com

Docker Volumes Tutorial

BoltOps Badge

This tutorial goes through Docker Volumes and how to use them in 2 ways:

  1. -v option
  2. --mount option

Commands

docker run -v $(pwd)/data:/data -P --rm -d httpd
docker run -v $(pwd)/htdocs:/usr/local/apache2/htdocs -P --rm -d httpd
docker run --mount source=htdocs,target=/usr/local/apache2/htdocs -P --rm -d httpd

Video

Watch the video

Note: Premium video content requires a subscription.

About

Docker Volumes Tutorial

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages