Docker LXC

1671057378-45016-portainer-1-300x165

Options to Install Portainer and/or Docker Compose V2

Docker is an open-source project for automating the deployment of applications as portable, self-sufficient containers.

šŸ›ˆ If the LXC is created Privileged, the script will automatically set up USB passthrough.

To create a new Proxmox VE Docker LXC, run the command below in the Proxmox VE Shell.

bash -c "$(wget -qLO - https://github.com/tteck/Proxmox/raw/main/ct/docker.sh)"

Default Settings: 2GB RAM - 4GB Storage - 2vCPU

As an alternative option, you can use Alpine Linux and the Docker package to create a Docker LXC container with faster creation time and minimal system resource usage.

To create a new Proxmox VE Alpine-Docker LXC, run the command below in the Proxmox VE Shell.

bash -c "$(wget -qO - https://github.com/tteck/Proxmox/raw/main/ct/alpine-docker.sh)"

Default Settings: 1GB RAM - 2GB Storage - 1vCPU

:warning: Run Compose V2 by replacing the hyphen (-) with a space, using docker compose, instead of docker-compose.

Portainer Interface: (https) IP:9443

1 Like

How is it possible to create a privileged container using this script? This script automatically creates an unprivileged container and offers no choice.

Did you use advanced installation?

Thank you for the advice. It works with the advanced installation.

1 Like