Docker on proxmox

Installing Docker and Portainer to use With the Edge Agent on proxmox

1. Install docker on proxmox VM

  1. download turnkey-core 17.1-1 in proxmox templates

  2. create LXC with turnkey-core 17.1-1

  3. get in to options -> Features to change options (keyctl , Nesting) to enable

  4. after installed the system :

    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    apt-get update

    apt-get upgrade

    apt-get install \
    ca-certificates \
    curl \
    gnupg \
    lsb-release

    mkdir -m 0755 -p /etc/apt/keyrings

    curl -fsSL https://download.docker.com/linux/debian/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg

    echo \
    "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/debian \
    $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null

    apt-get update

    apt-get install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
  5. check does docker working ?

Installing Docker and Portainer to use With the Edge Agent

  1. do what this website did -> https://thehomelab.wiki/books/docker/page/installing-docker-and-portainer-to-use-with-the-edge-agent

    check your ip by : ip -a
    type : : on your browser