684 B
Executable File
684 B
Executable File
title, description, published, date, tags, editor, dateCreated
| title | description | published | date | tags | editor | dateCreated |
|---|---|---|---|---|---|---|
| docker-install-lxc | true | 2024-04-17T03:43:13.192Z | markdown | 2024-04-15T20:42:02.970Z |
Run as root
Create unprivileged container with fuse enabled
Install prereqs
apt update && apt upgrade -y
apt install -y curl fuse-overlayfs
Install docker
curl -fsSL https://get.docker.com | sh
Configure fuse driver for docker
cat <<EOF >/etc/docker/daemon.json
{
"storage-driver": "fuse-overlayfs"
}
EOF
systemctl restart docker.service
Download and run essentials script
Log in as akanealw and switch to root
adduser akanealw docker
Relog as akanealw