9/12/2023 0 Comments Wsl ubuntu download![]() profile to start Docker each time you login. # (optional) install latest version of docker compose sudo curl -sSL `curl -s | \ grep "compose/releases/tag" | sed -r 's|.*(+\.+\.+).*|\1|p' | head -n 1 `/docker-compose- ` uname -s `- ` uname -m ` \ -o /usr/local/bin/docker-compose & sudo chmod +x /usr/local/bin/docker-composeĬurrently, Docker doesn't auto start, so you have to start the service each time. # (optional) install kubectl sudo apt-get install -y kubectl # upgrade the distro sudo apt-get upgrade -y sudo apt-get autoremove -y # install docker sudo apt-get install -y docker-ce containerd.io # update the package manager with the new repos sudo apt-get update The distro will be unpacked and ready to use shortly. Open Ubuntu 22.04 from the Start menu There will be an installation process that appears, and it should not take very long. Sudo add-apt-repository "deb $(lsb_release -cs ) stable" # (optional) add kubectl key and repoĮcho "deb kubernetes-xenial main" | sudo tee /etc/apt//kubernetes.list Download Ubuntu 22.04 LTS Once the download is complete, you can open Ubuntu 22.04 from your Start menu. ![]() Sudo usermod -aG docker $ # add Docker key and repo # create a group named docker and add yourself to it # so that we don't have to type sudo docker every time # note you will need to logout and login before this takes affect (which we do later) sudo groupadd docker Sudo apt-get install -y apt-transport-https ca-certificates curl software-properties-common libssl-dev libffi-dev git wget nano # update the package manager and install some prerequisites (all of these aren't technically required) sudo apt-get update
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |