website/_posts/2021-08-01-proxmox-docker-lxc.md
2021-08-31 18:26:27 +02:00

1018 B

layout title description author categories image comments
post Proxmox Docker LXC Installing on Proxmox a Linux Container with Docker installed and Portainer, VScode and Watchtower container configured, all with 1 line command. sthope
Docker
Proxmox
Portainer
proxmox-small-logo.png true

Setup the LXC

  • In the terminal of Proxmox enter:
clear; bash -c "$(wget -qLO - https://git.sthopeless.com/sthope/proxmox_portainer/raw/branch/master/create_container.sh)"

It will configure and start a Debian LXC. After created you can rename the LXC and give it a static IP.


# LXC configuration - In the LXC terminal setup root password with
passwd

### Finish
  • Portainer should be running at:
http://{IP}:9000
  • VSCode should be running at:
http://{IP}:8443
  • WatchTower for auto updating the containers is also installed and if you want new containers to use it simply add the label:
com.centurylinklabs.watchtower.enable=true