mirror of
https://github.com/jpetazzo/container.training.git
synced 2026-02-16 10:39:55 +00:00
Compare commits
1 Commits
gitpod
...
qconsf18sk
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0c2ee7f3f5 |
133
slides/containers/Training_Environment_GCP.md
Normal file
133
slides/containers/Training_Environment_GCP.md
Normal file
@@ -0,0 +1,133 @@
|
||||
|
||||
class: title
|
||||
|
||||
# Our training environment
|
||||
|
||||

|
||||
|
||||
---
|
||||
|
||||
## Our training environment
|
||||
|
||||
- If you are attending a tutorial or workshop:
|
||||
|
||||
- a temporary [GCP](https://cloud.google.com) account has been provided for you
|
||||
|
||||
- login with this username & password (incognito browser)
|
||||
|
||||
- find the shell and editor interfaces, we will use those
|
||||
|
||||
- If you are doing or re-doing this course on your own, you can:
|
||||
|
||||
- install Docker locally (as explained in the chapter "Installing Docker")
|
||||
|
||||
- install Docker on e.g. a cloud VM
|
||||
|
||||
- use http://www.play-with-docker.com/ to instantly get a training environment
|
||||
|
||||
---
|
||||
|
||||
## Our (Docker enabled) GCP Shell
|
||||
|
||||
*This section assumes that you are following this course as part of
|
||||
a tutorial, training or workshop, where each student is given an
|
||||
individual Docker VM.*
|
||||
|
||||
- The temporary GCP account is created just before the training.
|
||||
|
||||
- It will remain available during the training.
|
||||
|
||||
- It will be destroyed shortly after the training.
|
||||
|
||||
- It comes pre-loaded with Docker and some other useful tools.
|
||||
|
||||
- It does not require much bandwidth (no install downloads).
|
||||
|
||||
---
|
||||
|
||||
## What *is* Docker?
|
||||
|
||||
- "Installing Docker" really means "Installing the Docker Engine and CLI".
|
||||
|
||||
- The Docker Engine is a daemon (a service running in the background).
|
||||
|
||||
- This daemon manages containers, the same way that an hypervisor manages VMs.
|
||||
|
||||
- We interact with the Docker Engine by using the Docker CLI.
|
||||
|
||||
- The Docker CLI and the Docker Engine communicate through an API.
|
||||
|
||||
- There are many other programs, and many client libraries, to use that API.
|
||||
|
||||
---
|
||||
|
||||
## Why don't we run Docker locally?
|
||||
|
||||
- We are going to download container images and distribution packages.
|
||||
|
||||
- This could put a bit of stress on the local WiFi and slow us down.
|
||||
|
||||
- Instead, we use a remote VM that has a good connectivity
|
||||
|
||||
- In some rare cases, installing Docker locally is challenging:
|
||||
|
||||
- no administrator/root access (computer managed by strict corp IT)
|
||||
|
||||
- 32-bit CPU or OS
|
||||
|
||||
- old OS version (e.g. CentOS 6, OSX pre-Yosemite, Windows 7)
|
||||
|
||||
- It's better to spend time learning containers than fiddling with the installer!
|
||||
|
||||
---
|
||||
|
||||
## Connecting to your GCP Shell (Virtual Machine)
|
||||
|
||||
You only need a browser.
|
||||
|
||||
[](images/gcp-shell-setup.gif)
|
||||
<!-- TODO make bigger -->
|
||||
|
||||
---
|
||||
|
||||
## Checking your Virtual Machine
|
||||
|
||||
Once logged in, make sure that you can run a basic Docker command:
|
||||
|
||||
.small[
|
||||
```bash
|
||||
$ docker version
|
||||
Client:
|
||||
Version: 18.03.1-ce
|
||||
API version: 1.37
|
||||
Go version: go1.9.5
|
||||
Git commit: 9ee9f40
|
||||
Built: Thu Apr 26 07:17:14 2018
|
||||
OS/Arch: linux/amd64
|
||||
Experimental: false
|
||||
Orchestrator: swarm
|
||||
Server:
|
||||
Engine:
|
||||
Version: 18.03.1-ce
|
||||
API version: 1.37 (minimum version 1.12)
|
||||
Go version: go1.9.5
|
||||
Git commit: 9ee9f40
|
||||
Built: Thu Apr 26 07:15:24 2018
|
||||
OS/Arch: linux/amd64
|
||||
Experimental: false
|
||||
```
|
||||
]
|
||||
|
||||
If this doesn't work, raise your hand so that an instructor can assist you!
|
||||
|
||||
---
|
||||
|
||||
## How to edit files
|
||||
|
||||
There is a built in editor.
|
||||
|
||||
Look for the pencil icon when you have the shell open.
|
||||
|
||||

|
||||
<!-- TODO make bigger -->
|
||||
|
||||
BIN
slides/images/gcp-editor.png
Normal file
BIN
slides/images/gcp-editor.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 118 KiB |
BIN
slides/images/gcp-shell-setup.gif
Normal file
BIN
slides/images/gcp-shell-setup.gif
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.6 MiB |
BIN
slides/images/title-our-training-environment-gcp-shell.png
Normal file
BIN
slides/images/title-our-training-environment-gcp-shell.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 90 KiB |
@@ -1,26 +1,26 @@
|
||||
title: |
|
||||
Introduction
|
||||
to Containers
|
||||
Introduction to
|
||||
Docker and Containers
|
||||
|
||||
chat: "[Slack](https://dockercommunity.slack.com/messages/C7GKACWDV)"
|
||||
#chat: "[Gitter](https://gitter.im/jpetazzo/workshop-yyyymmdd-city)"
|
||||
#chat: "[Gitter](https://gitter.im/qconsf18skshp)"
|
||||
|
||||
gitrepo: github.com/jpetazzo/container.training
|
||||
|
||||
slides: http://container.training/
|
||||
slides: http://qconsf18wkshp.container.training/
|
||||
|
||||
exclude:
|
||||
- self-paced
|
||||
|
||||
chapters:
|
||||
- shared/title.md
|
||||
- logistics.md
|
||||
- logistics-alan.md
|
||||
- containers/intro.md
|
||||
- shared/about-slides.md
|
||||
- shared/toc.md
|
||||
- - containers/Docker_Overview.md
|
||||
- containers/Docker_History.md
|
||||
- containers/Training_Environment.md
|
||||
- containers/Training_Environment_GCP.md
|
||||
- containers/Installing_Docker.md
|
||||
- containers/First_Containers.md
|
||||
- containers/Background_Containers.md
|
||||
|
||||
13
slides/logistics-alan.md
Normal file
13
slides/logistics-alan.md
Normal file
@@ -0,0 +1,13 @@
|
||||
## Intros
|
||||
|
||||
- Hello! I am:
|
||||
|
||||
- .emoji[✨] Alan Blount ([@zeroasterisk](https://twitter.com/zeroasterisk))
|
||||
|
||||
- The workshop will run from 9:00
|
||||
|
||||
- There will be a 15 min break at 10:30
|
||||
|
||||
- Feel free to interrupt for questions at any time
|
||||
|
||||
|
||||
Reference in New Issue
Block a user