Docker installation
-
Upload
mohammadreza-amini -
Category
Technology
-
view
152 -
download
0
Transcript of Docker installation
![Page 1: Docker installation](https://reader036.fdocuments.in/reader036/viewer/2022092617/58a180041a28abca5a8b4b09/html5/thumbnails/1.jpg)
Presentation By:
Mohammadreza Amini
Amir Arsalan
Autumn 2015IRAN OpenStack Users Group
Docker InstallationVersion Modified
![Page 2: Docker installation](https://reader036.fdocuments.in/reader036/viewer/2022092617/58a180041a28abca5a8b4b09/html5/thumbnails/2.jpg)
Agenda
Docker InstallationVersion Modified
| Iran Community OpenStack.ir
● Install Docker
● Mac OS X installation (installs both Engine and Compose)
● Windows installation
● Ubuntu installation
● Iran OpenStack Community
![Page 3: Docker installation](https://reader036.fdocuments.in/reader036/viewer/2022092617/58a180041a28abca5a8b4b09/html5/thumbnails/3.jpg)
Docker InstallationVersion Modified
| Iran Community OpenStack.ir
Install Docker
![Page 4: Docker installation](https://reader036.fdocuments.in/reader036/viewer/2022092617/58a180041a28abca5a8b4b09/html5/thumbnails/4.jpg)
Mac OS X installation (installs both Engine and Compose)
Docker InstallationVersion Modified
| Iran Community OpenStack.ir
This release of Docker deprecates the Boot2Docker command line in favor
of Docker Machine. Use the Docker Toolbox to install Docker Machine as
well as the other Docker tools.
You install Docker using Docker Toolbox. Docker Toolbox includes the
following Docker tools.
![Page 5: Docker installation](https://reader036.fdocuments.in/reader036/viewer/2022092617/58a180041a28abca5a8b4b09/html5/thumbnails/5.jpg)
Requirements
Docker InstallationVersion Modified
| Iran Community OpenStack.ir
Your Mac must be running OS X 10.8 “Mountain Lion” or newer to install
the Docker Toolbox.
![Page 6: Docker installation](https://reader036.fdocuments.in/reader036/viewer/2022092617/58a180041a28abca5a8b4b09/html5/thumbnails/6.jpg)
Installation
If you have VirtualBox running, you must shut it down before running the installer.
● Go to the Docker Toolbox page.
● Click the installer link to download.
● Install Docker Toolbox by double-clicking the package or by right-clicking and choosing “Open” from the pop-up menu.
● The installer launches the “Install Docker Toolbox” dialog.
Docker InstallationVersion Modified
| Iran Community OpenStack.ir
![Page 7: Docker installation](https://reader036.fdocuments.in/reader036/viewer/2022092617/58a180041a28abca5a8b4b09/html5/thumbnails/7.jpg)
Docker InstallationVersion Modified
| Iran Community OpenStack.ir
● Press “Continue” to install the toolbox.
![Page 8: Docker installation](https://reader036.fdocuments.in/reader036/viewer/2022092617/58a180041a28abca5a8b4b09/html5/thumbnails/8.jpg)
Docker InstallationVersion Modified
| Iran Community OpenStack.ir
![Page 9: Docker installation](https://reader036.fdocuments.in/reader036/viewer/2022092617/58a180041a28abca5a8b4b09/html5/thumbnails/9.jpg)
Docker InstallationVersion Modified
| Iran Community OpenStack.ir
By default, the standard Docker Toolbox installation:
installs binaries for the Docker tools in /usr/local/bin
makes these binaries available to all users
updates any existing VirtualBox installation
Change these defaults by pressing “Customize” or “Change Install Location.”
● Press “Install” to perform the standard installation.
![Page 10: Docker installation](https://reader036.fdocuments.in/reader036/viewer/2022092617/58a180041a28abca5a8b4b09/html5/thumbnails/10.jpg)
Docker InstallationVersion Modified
| Iran Community OpenStack.ir
● The system prompts you for your password.
● Provide your password to continue with the installation.
![Page 11: Docker installation](https://reader036.fdocuments.in/reader036/viewer/2022092617/58a180041a28abca5a8b4b09/html5/thumbnails/11.jpg)
Docker InstallationVersion Modified
| Iran Community OpenStack.ir
● Press “Close” to exit.
![Page 12: Docker installation](https://reader036.fdocuments.in/reader036/viewer/2022092617/58a180041a28abca5a8b4b09/html5/thumbnails/12.jpg)
Docker InstallationVersion Modified
| Iran Community OpenStack.ir
Windows
![Page 13: Docker installation](https://reader036.fdocuments.in/reader036/viewer/2022092617/58a180041a28abca5a8b4b09/html5/thumbnails/13.jpg)
Docker InstallationVersion Modified
| Iran Community OpenStack.ir
Your machine must be running Windows 7.1, 8/8.1 or newer to run
Docker. Windows 10 is not currently supported. To find out what
version of Windows you have:
Requirements
![Page 14: Docker installation](https://reader036.fdocuments.in/reader036/viewer/2022092617/58a180041a28abca5a8b4b09/html5/thumbnails/14.jpg)
Right click the Windows message and choose System.
If you aren’t using a supported version, you could consider
upgrading your operating system.
Docker InstallationVersion Modified
| Iran Community OpenStack.ir
![Page 15: Docker installation](https://reader036.fdocuments.in/reader036/viewer/2022092617/58a180041a28abca5a8b4b09/html5/thumbnails/15.jpg)
Make sure your Windows system supports Hardware Virtualization Technology and that virtualization is enabled
If virtualization is not enabled on your system, follow the manufacturer’s instructions for enabling it.
Docker InstallationVersion Modified
| Iran Community OpenStack.ir
![Page 16: Docker installation](https://reader036.fdocuments.in/reader036/viewer/2022092617/58a180041a28abca5a8b4b09/html5/thumbnails/16.jpg)
Docker InstallationVersion Modified
| Iran Community OpenStack.ir
For Windows 8 or 8.1
Choose Start > Task Manager and navigate to the Performance tab.Under CPU you should see the following:
![Page 17: Docker installation](https://reader036.fdocuments.in/reader036/viewer/2022092617/58a180041a28abca5a8b4b09/html5/thumbnails/17.jpg)
Docker InstallationVersion Modified
| Iran Community OpenStack.ir
Installation
![Page 18: Docker installation](https://reader036.fdocuments.in/reader036/viewer/2022092617/58a180041a28abca5a8b4b09/html5/thumbnails/18.jpg)
Docker InstallationVersion Modified
| Iran Community OpenStack.ir
If you have VirtualBox running, you must shut it down before running the installer.
● Go to the Docker Toolbox page.
● Click the installer link to download.
● Install Docker Toolbox by double-clicking the installer.
● The installer launches the “Setup - Docker Toolbox” dialog.
![Page 19: Docker installation](https://reader036.fdocuments.in/reader036/viewer/2022092617/58a180041a28abca5a8b4b09/html5/thumbnails/19.jpg)
Docker InstallationVersion Modified
| Iran Community OpenStack.ir
● Press “Next” to install the toolbox.
![Page 20: Docker installation](https://reader036.fdocuments.in/reader036/viewer/2022092617/58a180041a28abca5a8b4b09/html5/thumbnails/20.jpg)
Docker InstallationVersion Modified
| Iran Community OpenStack.ir
● Installs executables for the Docker tools in C:\Program Files\Docker Toolbox
● Press “Install” to continue with the installation.
![Page 21: Docker installation](https://reader036.fdocuments.in/reader036/viewer/2022092617/58a180041a28abca5a8b4b09/html5/thumbnails/21.jpg)
Docker InstallationVersion Modified
| Iran Community OpenStack.ir
● Press “Close” to exit.
![Page 22: Docker installation](https://reader036.fdocuments.in/reader036/viewer/2022092617/58a180041a28abca5a8b4b09/html5/thumbnails/22.jpg)
Docker InstallationVersion Modified
| Iran Community OpenStack.ir
Ubuntu
![Page 23: Docker installation](https://reader036.fdocuments.in/reader036/viewer/2022092617/58a180041a28abca5a8b4b09/html5/thumbnails/23.jpg)
Docker InstallationVersion Modified
| Iran Community OpenStack.ir
Docker is supported on these Ubuntu operating systems:
Ubuntu Wily 15.10
Ubuntu Vivid 15.04
Ubuntu Trusty 14.04 (LTS)
Ubuntu Precise 12.04 (LTS)
![Page 24: Docker installation](https://reader036.fdocuments.in/reader036/viewer/2022092617/58a180041a28abca5a8b4b09/html5/thumbnails/24.jpg)
Docker InstallationVersion Modified
| Iran Community OpenStack.ir
Prerequisites
![Page 25: Docker installation](https://reader036.fdocuments.in/reader036/viewer/2022092617/58a180041a28abca5a8b4b09/html5/thumbnails/25.jpg)
Docker InstallationVersion Modified
| Iran Community OpenStack.ir
Docker requires a 64-bit installation regardless of your Ubuntu
version. Additionally, your kernel must be 3.10 at minimum. The
latest 3.10 minor version or a newer maintained version are also
acceptable.
![Page 26: Docker installation](https://reader036.fdocuments.in/reader036/viewer/2022092617/58a180041a28abca5a8b4b09/html5/thumbnails/26.jpg)
Docker InstallationVersion Modified
| Iran Community OpenStack.ir
To check your current kernel version, open a terminal and use uname-r to display your kernel version:
$ uname -r3.11.0-15-generic
Note: If you previously installed Docker using apt, make sure you
update your apt sources to the new Docker repository.
![Page 27: Docker installation](https://reader036.fdocuments.in/reader036/viewer/2022092617/58a180041a28abca5a8b4b09/html5/thumbnails/27.jpg)
Docker InstallationVersion Modified
| Iran Community OpenStack.ir
Update your apt sources
Docker’s apt repository contains Docker 1.7.1 and higher. To set apt
to use packages from the new repository:
● Add the new gpg key.
● $ apt-key adv --keyserver hkp://pgp.mit.edu:80 –recv-keys58118E89F3A912897C070ADBF76221572C52609D
● Open the /etc/apt/sources.list.d/docker.list file in your favorite editor.
● Add an entry for your Ubuntu operating system.
![Page 28: Docker installation](https://reader036.fdocuments.in/reader036/viewer/2022092617/58a180041a28abca5a8b4b09/html5/thumbnails/28.jpg)
Docker InstallationVersion Modified
| Iran Community OpenStack.ir
# Ubuntu Precisedeb https://apt.dockerproject.org/repo ubuntu-precise main# Ubuntu Trustydeb https://apt.dockerproject.org/repo ubuntu-trusty main# Ubuntu Vividdeb https://apt.dockerproject.org/repo ubuntu-vivid main# Ubuntu Wilydeb https://apt.dockerproject.org/repo ubuntu-wily main
● Save and close the /etc/apt/sources.list.d/docker.list file.
● Update the apt package index
● apt-get update && apt-get install docker-engine
![Page 29: Docker installation](https://reader036.fdocuments.in/reader036/viewer/2022092617/58a180041a28abca5a8b4b09/html5/thumbnails/29.jpg)
Docker InstallationVersion Modified
| Iran Community OpenStack.ir
Stay in Touch and Join Us:
● Home Page: OpenStack.ir
● Meetup age: Meetup.com/IranOpenStack
● Mailing List: [email protected]
● Twitter: @OpenStackIR , #OpenStackIRAN
● IRC Channel on FreeNode: #OpenStack-ir
![Page 30: Docker installation](https://reader036.fdocuments.in/reader036/viewer/2022092617/58a180041a28abca5a8b4b09/html5/thumbnails/30.jpg)
Docker InstallationVersion Modified
| Iran Community OpenStack.ir
Mohammadreza Amini
Linux Administrator
Amir Arsalan
Python Developer
Thank You