mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-10-01 17:18:59 +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>
13 lines
250 B
Bash
Executable File
13 lines
250 B
Bash
Executable File
#!/bin/bash -eux
|
|
docker run \
|
|
-ti \
|
|
-v ~/.ssh/:/root/.ssh \
|
|
jdeathe/centos-ssh \
|
|
ssh \
|
|
-o Compression=yes \
|
|
-o LogLevel=FATAL \
|
|
-o StrictHostKeyChecking=no \
|
|
-o UserKnownHostsFile=/dev/null \
|
|
-o IdentitiesOnly=yes \
|
|
"$@"
|