Difference between revisions of "Docker Volumes"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
{{Draft}}
 
{{Draft}}
 +
* https://docs.docker.com/storage/volumes/
  
[[/var/lib/]]docker/volumes/metadata.db
+
* <code>[[/var/lib/docker/]]volumes/metadata.db</code>
  
  
Line 9: Line 10:
  
  
  docker container inspect grafana  | grep -w Volumes
+
  [[docker container inspect]] grafana  | grep -w Volumes
 
           "Volumes": null,
 
           "Volumes": null,
  
Line 16: Line 17:
 
             "Volumes": null,
 
             "Volumes": null,
  
 +
* <code> [[docker run]] [[--name]] some-[[mariadb]] [[-v]] /my/own/datadir:[[/var/lib/mysql]] [[-e]] MYSQL_ROOT_PASSWORD=my-secret-pw -d mariadb:latest</code>
  
 
== Related terms ==
 
== Related terms ==
Line 27: Line 29:
  
 
== Activitites ==
 
== Activitites ==
* Read Introduction to Docker Bind Mounts and Volumes https://4sysops.com/archives/introduction-to-docker-bind-mounts-and-volumes/
+
* Read Introduction to Docker [[Bind Mounts]] and Volumes https://4sysops.com/archives/introduction-to-docker-bind-mounts-and-volumes/
 
* Read https://docs.docker.com/storage/volumes/
 
* Read https://docs.docker.com/storage/volumes/
  

Revision as of 15:32, 17 April 2021

This article is a Draft. Help us to complete it.




docker container inspect grafana  | grep -w Volumes
          "Volumes": null,
docker image inspect grafana/grafana | grep -w Volumes
           "Volumes": null,
           "Volumes": null,

Related terms

Activitites

See also

Advertising: