mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-12-16 22:37:57 +00:00
For the time being I've decided to exploit shared mounts to make `/opt/cni` and `/etc/cni` work as expected. We need these directories to appear writable on the host, and allow Weave Net pod to bind-mount out them in order to install plugin binaries, and allow for vanilla CNI plugins to be also accessible to kubelet. Signed-off-by: Ilya Dmitrichenko <errordeveloper@gmail.com>
5 lines
204 B
Docker
5 lines
204 B
Docker
FROM mobylinux/docker-ce:741bf21513328f674e0cdcaa55492b0b75974e08
|
|
ADD . /images
|
|
ENTRYPOINT [ "/bin/sh", "-c" ]
|
|
CMD [ "for image in /images/*.tar ; do docker image load -i $image && rm -f $image ; done" ]
|