Skip to content

Commit

Permalink
Move /var/lib/virtlet to a docker volume in demo
Browse files Browse the repository at this point in the history
  • Loading branch information
Ivan Shvedunov committed Oct 11, 2018
1 parent d757062 commit 54bea3c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions deploy/demo.sh
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,9 @@ function demo::fix-mounts {
docker exec "${virtlet_node}" mount --make-shared /boot
fi
docker exec "${virtlet_node}" mount --make-shared /sys/fs/cgroup
demo::step "Bind-mounting /var/lib/virtlet from a docker volume"
docker exec "${virtlet_node}" mkdir -p /dind/virtlet /var/lib/virtlet
docker exec "${virtlet_node}" mount --bind /var/lib/virtlet /dind/virtlet
}

function demo::inject-local-image {
Expand Down

0 comments on commit 54bea3c

Please sign in to comment.