This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
docker:start [2022/12/16 18:17] – created onoitsu2 | docker:start [2023/07/19 06:13] (current) – onoitsu2 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | Factory restore docker | + | Install Proxmox https://pve.proxmox.com/pve-docs/ |
- | rm -rf /var/lib/docker | + | |
- | Install Docker Manually | + | Run the following items from https:// |
- | Update | + | |
- | apt-get update | + | **Proxmox VE Post Install** |
+ | < | ||
+ | When it asks to update, Yes. Reboot Yes. | ||
- | apt-get install \ | ||
- | apt-transport-https \ | ||
- | ca-certificates \ | ||
- | curl \ | ||
- | gnupg \ | ||
- | lsb-release | ||
- | Add Docker’s official GPG key: | + | **Proxmox VE Processor Microcode** |
- | | + | < |
+ | Reboot at the end again. | ||
- | Use the following command to set up the stable repository: | + | **Docker LXC** |
- | echo \ | + | < |
- | | + | I set mine to advanced, debian 12, Privileged (I do this because of usb passthrough needs and need to mount CIFS/NFS), 22GB (your needs will vary, do not set too low or it will fill FAST), Cores 3 (total - 1 for Proxmox as overhead for my little quad core host systems, but 2 can allow another VM room to live), 3GB RAM (your needs will vary and can be edited later), Enable FUSE Overlay! (I have it because of GlusterFS and other overlay needs). |
- | $(lsb_release -cs) stable" | + | |
- | Update the apt package index, | + | Yes to Install Portainer (if you want to easily be able to access |
- | apt-get update | + | Yes to Docker |
- | apt-get install | + | |
- | Verify docker is running on the system: | + | After created, adjust SWAP to 1GB (your needs may vary, but do by choosing |
- | | + | Restart the LXC via Proxmox (Portainer setup may have timed out if you don't) |
+ | Connect ASAP to your whatever your dockerIP is on port 9000 in your browser (in a new tab of course, as you may want to do more proxmox stuff) | ||
- | Install Portainer: | ||
- | docker run -d \ | ||
- | --name=" | ||
- | --restart on-failure \ | ||
- | -p 9000:9000 \ | ||
- | -v / | ||
- | -v portainer_data:/ | ||
- | portainer/ | ||
| | ||
[[Docker: | [[Docker: |