Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to install docker, machine, compose, virtualbox in ubuntu16 | kvm

2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

This article mainly shows you "how to install docker, machine, compose, virtualbox | kvm in ubuntu16", the content is easy to understand, clear, hope to help you solve your doubts, the following let the editor lead you to study and learn "how to install docker, machine, compose, virtualbox | kvm" this article.

Install docker

Other: https://docs.docker.com/engine/installation/

$sudo apt-get remove docker docker-engine docker.io# remove the old version $sudo apt-get update$ sudo apt-get install linux-image-extra-$ (uname-r) linux-image-extra-virtual# install docker storage driver $sudo apt-get update$ sudo apt-get install apt-transport-https ca-certificates curl software-properties-common# configuration repository install $curl-fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -# add docker official key $sudo apt-key fingerprint 0EBFCD88# Authentication key $sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release-cs) stable" # set up the repository Lsb_release-cs is the name of the distribution. For example, xenial$ sudo apt-get update$ sudo apt-get install docker-ce# installs the latest docker community version $apt-cache madison docker-ce$ sudo apt-get install docker-ce=#, or you can check the version. Select the stable version $sudo docker run hello-world# to verify that docker-ce installs machine.

Other: https://docs.docker.com/machine/install-machine/#installing-machine-directly

$curl-L https://github.com/docker/machine/releases/download/v0.12.2/docker-machine-`uname-s`-`uname-m` > / tmp/docker-machine & & chmod + x / tmp/docker-machine & & sudo cp / tmp/docker-machine / usr/local/bin/docker-machine# install docker-machine$ docker-machine version# verify machine install composesudo curl-L https://github.com/docker/compose/releases/download/1.16.1/docker- Compose- `uname-s`-`uname-m`-o / usr/local/bin/docker-compose# installation composesudo chmod + x / usr/local/bin/docker-compose# add x permissions docker-compose-- version# verify compose installation virtualbox

Other: https://www.virtualbox.org/wiki/Linux_Downloads

Vim / etc/apt/sources.listdeb http://download.virtualbox.org/virtualbox/debian xenial contrib# add apt Source wget https://www.virtualbox.org/download/oracle_vbox_2016.asc# download latest keyssudo apt-key add oracle_vbox_2016.asc# add keys to aptsudo apt-get updatesudo apt-get install virtualbox-5.1# install virtualboxsudo apt-get-f install# solution dependency sudo apt-get install virtualbox-5.1vboxmanage-- version# verify installation kvm

Version except ubuntu16: https://github.com/dhiltgen/docker-machine-kvm/releases

# cannot install virtualbox or other usermod-G group user drivers that occupy CPU virtualization software $curl-L https://github.com/dhiltgen/docker-machine-kvm/releases/download/v0.10.0/docker-machine-driver-kvm-ubuntu16.04 > / usr/local/bin/docker-machine-driver-kvm\ chmod + x / usr/local/bin/docker-machine-driver-kvm# to install kvm$ sudo apt-get install libvirt-bin qemu-kvm# kvm at the same time Create machinedocker-machine create machine-name# by default using vbox as the driver docker-machine create-d kvm myengine0 above is "how to install docker in ubuntu16, Machine, compose, virtualbox | kvm "all the contents of this article Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report