What do you someone breaks something? I post the solution here...

Kubernetes (K8s/K3d) / Terraform / Ansible / Linux / AWS / Docker / Bash / Python / ELK / CI/CD / Java / Traefik / Nginx / CentOs / Ubuntu


Docker in Linux Containers



Steps:

  • Launch Linux Container:   lxc launch ubuntu:16.04 docker  
  • Install Pre-reqs: apt update && apt install apt-transport-https ca-certificates gnupg-agent software-properties-common -y
  • Add Gpg Public key:  curl -fsSL https://download.docker.com/linux/ubuntu/gpg | apt-key add -
  •  Add Repository:  echo "deb https://download.docker.com/linux/ubuntu/ xenial stable" >> /etc/apt/sources.list.d/docker.list
  •  Install: apt update && apt install docker-ce \
    docker-ce-cli \
    containerd.io -y

Done !!!




    No comments:

    Powered by Blogger.