
Proxmox Docker LXC
1 minute read
Installing on Proxmox a Linux Container with Docker installed and Portainer, VScode and Watchtower container configured, all with 1 line command.
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
I feedback.
Let me know what you think of this article on twitter @Sthope_dev or leave a comment below!
Let me know what you think of this article on twitter @Sthope_dev or leave a comment below!
comments powered by Disqus