--- title: docker-install-lxc description: published: true date: 2024-04-17T03:44:20.358Z tags: editor: markdown dateCreated: 2024-04-15T20:42:02.970Z --- # Run as root Create unprivileged container with fuse enabled ## Install required packages ```bash apt update && apt upgrade -y apt install -y curl fuse-overlayfs ``` ## Install docker ```bash curl -fsSL https://get.docker.com | sh ``` ## Configure fuse driver for docker ```bash cat </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 ```bash adduser akanealw docker ``` Relog as akanealw