Skip to content

Latest commit

 

History

History
31 lines (31 loc) · 1.38 KB

mirantis.md

File metadata and controls

31 lines (31 loc) · 1.38 KB

INSTALL MIRANTIS CONTAINER RUNTIME

https://docs.mirantis.com/mcr/20.10/install/mcr-linux/ubuntu.html

sudo apt-get --yes remove docker docker-engine docker-ce docker-ce-cli docker.io
sudo apt-get --yes update
sudo apt-get --yes install apt-transport-https ca-certificates curl software-properties-common
DOCKER_EE_URL="http://repos.mirantis.com"
DOCKER_EE_VERSION=20.10
curl -fsSL "${DOCKER_EE_URL}/ubuntu/gpg" | sudo apt-key add -
sudo apt-key fingerprint 6D085F96
sudo add-apt-repository "deb [arch=$(dpkg --print-architecture)] $DOCKER_EE_URL/ubuntu $(lsb_release -cs) stable-$DOCKER_EE_VERSION"
sudo apt-get --yes update
sudo apt-get --yes install docker-ee docker-ee-cli containerd.io

ADD DOCKER GROUP

https://docs.docker.com/engine/install/linux-postinstall/

sudo groupadd docker
sudo usermod -aG docker $USER
newgrp docker
docker run hello-world

INSTALL MIRANTIS KUBERNETES ENGINE

https://docs.mirantis.com/mke/3.4/install/install-mke-image.html

docker container run --rm --interactive --tty --name ucp --volume /var/run/docker.sock:/var/run/docker.sock mirantis/ucp:3.4.9 install --host-address $( ip route | grep dev.eth0.proto.kernel | awk '{ print $9 }' ) --interactive --force-minimums

UNINSTALL MIRANTIS KUBERNETES ENGINE

docker container run --rm -it -v /var/run/docker.sock:/var/run/docker.sock --name ucp mirantis/ucp:3.4.9 uninstall-ucp --interactive