What i want to achieve is to share docker container across different machine.
since docker will store container data into /var/lib/docker/container
i am thinking to have a network volume, and map "/var/lib/docker/container" from each machine to the same network volume.
Machine A
|- /var/lib/docker/container --------------------> network file volume
^
|
Machine B |
|- /var/lib/docker/container -----------------------------
in Machine A when i do "docker run" to create container, i can see those file show up when i view from Machine B, however from Machine B "docker ps" i couldn`t see container is listed out.
is this a work-able approach?
برچسب:
نویسنده: استخدام کار