Docker inside LXC on Proxmox 7 - failing with: OCI runtime create failed

This page summarizes the projects mentioned and recommended in the original post on /r/Proxmox

InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • References: https://danthesalmon.com/running-docker-on-proxmox/ https://old.reddit.com/r/Proxmox/comments/lsrt28/easy_way_to_run_docker_in_an_unprivileged_lxc_on/gp8g6vv/ https://github.com/alexpdp7/ansible-create-proxmox-host#docker-setup https://thehomelab.wiki/books/promox-ve/page/setup-and-install-docker-in-a-promox-7-lxc-conainer https://www.turnkeylinux.org/core https://docs.docker.com/engine/install/debian/ https://documentation.portainer.io/v2.0/deploy/ceinstalldocker/ Steps: Create a zvol (on a root pool in this example, but can be anywhere): zfs create -s -V 100G n1p1ssd/docker-lxc docker-lxc is the zvol name, can be anything, and 30G is a 30GB size (arbitrary tbh, depends on how many images you'll have and how you manager other container data) Check it's actually sparse: zfs get volsize,referenced n1p1ssd/docker-lxc volsize should be 30GB (that's the max it can take), referenced is how much is actually used (should be very little when it's just created) Format it as xfs: mkfs.xfs /dev/zvol/n1p1ssd/docker-lxc Mount it into a temp location to change permissions (as mentioned in one of the replies): mkdir /tmp/zvol_tmp mount /dev/zvol/n1p1ssd/docker-lxc /tmp/zvol_tmp chown -R 100000:100000 /tmp/zvol_tmp umount /tmp/zvol_tmp add mountpoint into lxc, adding this into /etc/pve/lxc/150.conf: mp0: /dev/zvol/n1p1ssd/docker-lxc,mp=/var/lib/docker,backup=0, where X is the number for your mountpoint (in case there are others already present) Use xfs - this fsystem is used by default for VMs im proxmox. It allows me to expand disk size fairly easily when needed. So i use 8gb as initial size instead of 30gb. Offcourse overlay2 works fine on it. You can handle snapshots/backups via ZFS itself! The volume is just another object on your zfs pool, so whatever you use for managing it can work with volumes as well. Eg I use Sanoid for my snapshot management (and included syncoid for remote replication) Now install docker, then portainer.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project