Add support for encrypted swap

Update examples/swap.yml to use latest linuxkit/swap image
Add comment to examples/swap.yml how to enable encryption
Add encrypt options to README
Make encrypted swap the default

Signed-off-by: Avi Deitcher <avi@deitcher.net>
This commit is contained in:
Avi Deitcher
2017-04-29 23:46:57 +03:00
parent 805be09669
commit aebd255755
4 changed files with 19 additions and 9 deletions

View File

@@ -2,9 +2,9 @@ FROM alpine:3.5
# swap command - only minimal Alpine install
# use util-linux to get swapfile utils
# at some point, hopefully use our own mkswap and swapon
RUN apk add --update util-linux
# use util-linux to get swapfile utils, cryptsetup
# at some point, hopefully use our own mkswap and swapon, as well as cryptsetup
RUN apk add --update util-linux cryptsetup
# add the entrypoint and make it executable
COPY . ./