mirror of
https://github.com/minoplhy/docker-ripe-atlas.git
synced 2025-04-21 20:36:58 +00:00
use -v instead of --bind to auto create the directories
This commit is contained in:
parent
a34c100ada
commit
264800d621
@ -14,8 +14,8 @@ docker run -d \
|
|||||||
--memory=256m \
|
--memory=256m \
|
||||||
--cap-add=SYS_ADMIN --cap-add=CAP_NET_RAW --cap-add=CAP_CHOWN \
|
--cap-add=SYS_ADMIN --cap-add=CAP_NET_RAW --cap-add=CAP_CHOWN \
|
||||||
--mount type=tmpfs,destination=/var/atlasdata \
|
--mount type=tmpfs,destination=/var/atlasdata \
|
||||||
--mount type=bind,src=/var/atlas-probe/etc,dst=/var/atlas-probe/etc \
|
-v /var/atlas-probe/etc:/var/atlas-probe/etc \
|
||||||
--mount type=bind,src=/var/atlas-probe/status,dst=/var/atlas-probe/status \
|
-v /var/atlas-probe/status:/var/atlas-probe/status \
|
||||||
--name ripe-atlas \
|
--name ripe-atlas \
|
||||||
jamesits/ripe-atlas:latest
|
jamesits/ripe-atlas:latest
|
||||||
```
|
```
|
||||||
|
Loading…
x
Reference in New Issue
Block a user