docs: update docker/docker-install-lxc

This commit is contained in:
2024-04-17 03:44:22 +00:00
parent bd54857b2e
commit ec7f34671b

View File

@@ -2,7 +2,7 @@
title: docker-install-lxc
description:
published: true
date: 2024-04-17T03:43:13.192Z
date: 2024-04-17T03:44:20.358Z
tags:
editor: markdown
dateCreated: 2024-04-15T20:42:02.970Z
@@ -12,19 +12,19 @@ dateCreated: 2024-04-15T20:42:02.970Z
Create unprivileged container with fuse enabled
### Install prereqs
## Install required packages
```bash
apt update && apt upgrade -y
apt install -y curl fuse-overlayfs
```
### Install docker
## Install docker
```bash
curl -fsSL https://get.docker.com | sh
```
### Configure fuse driver for docker
## Configure fuse driver for docker
```bash
cat <<EOF >/etc/docker/daemon.json
{
@@ -35,7 +35,6 @@ systemctl restart docker.service
```
Download and run essentials script
Log in as akanealw and switch to root
```bash