Install Docker on an LXC Container
- Important the LXC container must be
unpreviliged
andNesting
andkeyctl
must be activated.
Update your machine to be up to date
Install Docker and set up that Docker starts when container starts
Install docker-compose and check the version after installation replace 1.31.0
with the newest docker compose version
apt install curl
curl -L "https://github.com/docker/compose/releases/download/2.31.0/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
chmod +x /usr/local/bin/docker-compose
docker-compose --version
Install portainer