Last active
November 20, 2018 20:35
-
-
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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