Update linuxkit/swap image

Signed-off-by: Guillaume Rose <guillaume.rose@docker.com>
This commit is contained in:
Guillaume Rose 2019-06-08 10:05:28 +02:00
parent fa1cd40a2a
commit e57cb35015
2 changed files with 2 additions and 2 deletions

View File

@ -26,7 +26,7 @@ onboot:
command: ["/usr/bin/mountie", "/var/lib"]
# make a swap file on the mounted disk
- name: swap
image: linuxkit/swap:v0.7
image: linuxkit/swap:f8b0434963b4c9114db473aab3b9409bccd4f85b
command: ["/swap.sh", "--path", "/var/lib/swap", "--size", "1024M"]
# mount-vpnkit mounts the 9p share used by vpnkit to coordinate port forwarding
- name: mount-vpnkit

View File

@ -18,7 +18,7 @@ onboot:
image: linuxkit/mount:v0.7
command: ["/usr/bin/mountie", "/var/external"]
- name: swap
image: linuxkit/swap:v0.7
image: linuxkit/swap:f8b0434963b4c9114db473aab3b9409bccd4f85b
# to use unencrypted swap, use:
# command: ["/swap.sh", "--path", "/var/external/swap", "--size", "1G"]
command: ["/swap.sh", "--path", "/var/external/swap", "--size", "1G", "--encrypt"]