8509008681

8509008681



Play wtth Docker classroom

Docker for Beginners - Linux

Oct 25, 2015 ■ Smlkegcoleman

In this lab. we will look at some basie Docker commands and a simple build-ship-run workflow. WeTI start by running some simple containers, then we'll use a Dockerfiie to buiid a cistom app. Finatly. wcti lock at how to use bind mounts to modify a running Container as you inight if you were actively deveiop ng using Docker.

Difficulty: Beginner (assumes no familiarity with Docker)

Time: Approximately 30 minutes

Tasks:

•    Task 0: Prerequisites

•    Task 1: Run some simple Docker containers

■ Task 2: Package and run a custom app using Docker

•    Task 3: Modify a Running Website

Task 0: Prerequisites

You will need all of thefollowing to complete this lab:

•    A clone of the lab's GitHub nepo.

•    ADockerlD.

Clone the Lab’s GitHub Repo

Use the following command to clone the lab's repo from GitHub (you can cllck the cornmand or manualty type it). This will make a copy ot the lab's repo in a new sub-directory called Tinux_tweet_apD .

git clone https://github.con/dockersaaiples/linux_tweet_app

Make surę you have a DockerlD

If you do not have a DcckerlD (a free login useci to access Docker Cloud, Docker Storę, and Docker Hub), please visit Docker Cloud and reg ster for one. You will reed this for later steps.

About

If the oommandllne doesnt appear In the terminal, make surę po pupę ara enabled or try reatzlng the broweer wlndow,

[nodel.] (local) rootpl92 . lt>8.0.28 —

git clone httpsj//github. coai/dockeraonipleB/linujc_ŁweeŁ_app loning into 'linux_twe©t_app'... emotet Counting objectsi 14, done,

emote: Total 14 (delta 0), reused 0 (delta 0)r pack-reueed 14 packing objects: 100% (14/14), done.

nodel] (local) root?192.166.0.26 -docker Container run alpine hoatname 8153493acle

nodel] (local) root?192.168.0.28 -$ docker Container la —all

CREATED


STATUS


AI NER ID    IMAGE    COMMAND

DAMES

3 aeconda ago


Exited (0) 2 seconda ago


68153493acle    alpine    "hostnanre"

boring_turing

nodel] (local) root«192.168.0.2B -

0



Wyszukiwarka

Podobne podstrony:
KI- student develops the awareness of the responsibility for the business activity and the place in&
032903P0 jpeg Learnig English Nauka angielskiego Lesson 1. English for beginners. (Lekcja 1. Angiel
Weil A Number Theory For?ginners djvu A. WEIL NUMBER THEORY FOR BEGINNERS I We assume as known th
new Instant Art copyright 2002/2003 Apache Friends apachefriends.orgE XAMPP for fur Linux
E3 sj/ restaurant english begginers at the restaurant dialogue for beginners at the restaurant dialo
senateinvestigatingcommittee Play thb card iii the beginning oI any othrr play er i (urn, Hi* rnay d
freeaussie2 This is a very easy bear suitable for beginners. Ali openings are optional BUT I leave t
Hope, Saskia Outlaw Lover BS Erotic fiction for wonien He slood tali and handsome in his leather
00209 202a29a63b9d1815ac2e851a240d5e 211 Strategies for Statistical Monitoring of Integral Control
00220 9a3deda68a2d2c688e0ccaa96ad4147 222 Baxley parameters for this algorithm. K is normally set a
00269 E6d89f6bd3f7e9373feefade333d6e5 271 Some Guidelines for Designing an Industrial Expcriment Ta
00273 ?c3052422913f10cb5772bda659a367 275 Some Guidelines for Designing an Industria) Experiment co
00446 ?37a1ae0f64def42344e887fde315d8 A Graphical Aid for Analyzing Autocorrelated Dynamical System

więcej podobnych podstron