docs: update docker/docker-install-lxc
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user