# Install packages required for the installation apt update apt install ca-certificates curl gnupg apt-transport-https gpg # Download GPG key and store repository in the system curl -fsSL https://download.docker.com/linux/debian/gpg | gpg --dearmor -o /usr/share/keyrings/docker.gpg echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/docker.gpg] https://download.docker.com/linux/debian bookworm stable" |tee /etc/apt/sources.list.d/docker.list > /dev/null apt update # Install Docker packages apt install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin docker-compose sudo systemctl start docker sudo systemctl enable docker # You can check whether the installation was successful and docker also starts at system startup with the following command: systemctl is-active docker sudo docker run hello-world ZNC: docker pull znc docker run -it -v znc-cfg:/znc-data znc --makeconf docker run --restart=always -p 11337:11337 -v znc-cfg:/znc-data znc # Ez csak akkor kell ha nem indul el újra rebootkor! docker ps (igy kell megnezni a kontenerszamot) docker update --restart=always kontenerid (igy elindul rebootkor a kontener, azaz znc)