mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-21 10:09:07 +00:00
Update linuxkit/swap image
Signed-off-by: Guillaume Rose <guillaume.rose@docker.com>
This commit is contained in:
parent
fa1cd40a2a
commit
e57cb35015
@ -26,7 +26,7 @@ onboot:
|
|||||||
command: ["/usr/bin/mountie", "/var/lib"]
|
command: ["/usr/bin/mountie", "/var/lib"]
|
||||||
# make a swap file on the mounted disk
|
# make a swap file on the mounted disk
|
||||||
- name: swap
|
- name: swap
|
||||||
image: linuxkit/swap:v0.7
|
image: linuxkit/swap:f8b0434963b4c9114db473aab3b9409bccd4f85b
|
||||||
command: ["/swap.sh", "--path", "/var/lib/swap", "--size", "1024M"]
|
command: ["/swap.sh", "--path", "/var/lib/swap", "--size", "1024M"]
|
||||||
# mount-vpnkit mounts the 9p share used by vpnkit to coordinate port forwarding
|
# mount-vpnkit mounts the 9p share used by vpnkit to coordinate port forwarding
|
||||||
- name: mount-vpnkit
|
- name: mount-vpnkit
|
||||||
|
@ -18,7 +18,7 @@ onboot:
|
|||||||
image: linuxkit/mount:v0.7
|
image: linuxkit/mount:v0.7
|
||||||
command: ["/usr/bin/mountie", "/var/external"]
|
command: ["/usr/bin/mountie", "/var/external"]
|
||||||
- name: swap
|
- name: swap
|
||||||
image: linuxkit/swap:v0.7
|
image: linuxkit/swap:f8b0434963b4c9114db473aab3b9409bccd4f85b
|
||||||
# to use unencrypted swap, use:
|
# to use unencrypted swap, use:
|
||||||
# command: ["/swap.sh", "--path", "/var/external/swap", "--size", "1G"]
|
# command: ["/swap.sh", "--path", "/var/external/swap", "--size", "1G"]
|
||||||
command: ["/swap.sh", "--path", "/var/external/swap", "--size", "1G", "--encrypt"]
|
command: ["/swap.sh", "--path", "/var/external/swap", "--size", "1G", "--encrypt"]
|
||||||
|
Loading…
Reference in New Issue
Block a user