Skip to content

Instantly share code, notes, and snippets.

@ckhung
Last active November 20, 2018 20:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save ckhung/0f7d5d68aec477ef76aa1286960101ce to your computer and use it in GitHub Desktop.
Save ckhung/0f7d5d68aec477ef76aa1286960101ce to your computer and use it in GitHub Desktop.
/etc/pve/lxc conf file for a proxmox lxc to be used as a docker host
# https://newtoypia.blogspot.com/2018/09/proxmox-lxc-storage.html
# 幫 proxmox 的 lxc 擴充硬碟
arch: amd64
hostname: whale
memory: 1024
mp0: local-zfs:subvol-371-disk-2,mp=/var/lib/docker,size=10G
net0: bridge=vmbr35,hwaddr=ff:ff:ff:ff:ff:71,ip=192.168.35.99/24,name=eth0,type=veth
onboot: 0
ostype: debian
rootfs: local-zfs:subvol-371-disk-1,size=4G
swap: 512
lxc.aa_profile: unconfined
lxc.cgroup.devices.allow: a
lxc.cap.drop:
lxc.hook.mount:
lxc.hook.post-stop:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment