Open main menu
Changes
Docker
5 bytes added
,
21:34, 25 June 2018
→
compose && swarm common part
*
'''
volumes
'''
: specify the container volume:host dir mappaing like with the -v option in the run command. Long and short version:
<pre>
version: "3.2"
- "dbdata:/var/lib/postgresql/data"
</pre>
==Good to know==
← Older edit
Newer edit →
Adam
Bureaucrat
,
administrator
7,540
edits