Difference between revisions of "--mount"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
  
* <code>[[docker run]] -d -it --name devtest --mount type=bind,source="$(pwd)"/target,target=/app nginx:latest</code>
+
* <code>[[docker run]] -d -it --name devtest --mount type=[[bind]],source="$(pwd)"/target,target=/app nginx:latest</code>
  
  
 +
* [[Docker Volumes]]
  
 
== See also ==
 
== See also ==
* {{Docker}}
+
* {{docker run}}
 +
 
 +
[[Category:Containers]]

Latest revision as of 12:47, 29 May 2023

  • docker run -d -it --name devtest --mount type=bind,source="$(pwd)"/target,target=/app nginx:latest


See also[edit]

Advertising: