42 lines
1.1 KiB
Markdown
42 lines
1.1 KiB
Markdown
# Install Fuse on Proxmox Host
|
|
|
|
```bash
|
|
apt clean && apt update
|
|
apt install -y fuse-overlayfs
|
|
```
|
|
|
|
# Options for LXC
|
|
Enable 'keyctl', 'Nesting', and 'FUSE'
|
|
|
|
|
|
# Install Fuse in the LXC
|
|
|
|
```bash
|
|
apt clean && apt update
|
|
apt install -y fuse-overlayfs
|
|
ln -s /usr/bin/fuse-overlayfs /usr/local/bin/fuse-overlayfs
|
|
```
|
|
|
|
# Install docker from official documentation
|
|
|
|
```bash
|
|
# Ensure pre-requisites are installed
|
|
apt install -y ca-certificates curl gnupg lsb-release
|
|
|
|
# Add Docker GPG key
|
|
mkdir -p /etc/apt/keyrings
|
|
curl -fsSL https://download.docker.com/linux/debian/gpg | gpg --dearmor -o /etc/apt/keyrings/docker.gpg
|
|
|
|
# Add Docker apt repository
|
|
echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/debian $(lsb_release -cs) stable" | tee /etc/apt/sources.list.d/docker.list > /dev/null
|
|
|
|
# Update sources and install Docker Engine
|
|
apt update
|
|
apt install -y docker-ce docker-ce-cli containerd.io docker-compose docker-compose-plugin
|
|
|
|
# Test for successful installation
|
|
docker run hello-world
|
|
|
|
# Enable the Docker engine to start at boot
|
|
systemctl enable docker
|
|
``` |