Skip to content
This repository was archived by the owner on Feb 6, 2023. It is now read-only.

Intro to docker #5

Merged
merged 2 commits into from
Jun 25, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
111 changes: 111 additions & 0 deletions intro-to-docker.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,111 @@
<!doctype html>
<html lang="en">

<head>
<!--
The contents of this file are based on index.html from the reveal.js project.
Some details such as dependancies may not be needed or may change in the future.
Once it has been written, this template and any lectures based off of it should
be accompanied by a shell script to set up and/or run the presentation with minimal
user interference.
-->
<meta charset="utf-8">

<title>Zip Code Lecture: Intro to Docker</title>

<meta name="description" content="A reveal.js-based Zip Code Wilmington Lesson: Intro to Docker">
<!-- TODO: Put your name here: -->
<meta name="author" content="Roberto DeDeus">

<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">

<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, minimal-ui">

<link rel="stylesheet" href="css/reveal.css">
<link rel="stylesheet" href="css/theme/black.css" id="theme">

<!-- Code syntax highlighting -->
<link rel="stylesheet" href="lib/css/zenburn.css">

<!-- Printing and PDF exports -->
<script>
var link = document.createElement( 'link' );
link.rel = 'stylesheet';
link.type = 'text/css';
link.href = window.location.search.match( /print-pdf/gi ) ? 'css/print/pdf.css' : 'css/print/paper.css';
document.getElementsByTagName( 'head' )[0].appendChild( link );
</script>
<!-- fix the inline code block style -->
<style>
.reveal code {
background: #3f3f3f;
padding: 0px 4px;
}
</style>

<!--[if lt IE 9]>
<script src="lib/js/html5shiv.js"></script>
<![endif]-->
</head>

<body>

<div class="reveal">

<!-- Any section element inside of this container is displayed as a slide -->
<div class="slides">

<section>
<!-- This logo is used in every copy of this file. Drop a new file
into img/Logo.jpg to change it across all slide decks -->
<img src="img/Logo.jpg" >
</section>

<!--
So that new slides are easily recognizable while editing markdown
the separators have been changed to be one or two <hr>s (- by itself on a line).
1 hr = new slide below
2 hr = new slide to the right
-->
<section data-markdown="md/intro-to-docker.md"
data-separator="^-\n-\n"
data-separator-vertical="^-\n"
data-separator-notes="^Note:"
data-charset="utf-8">
</section>

</div>

</div>

<script src="lib/js/head.min.js"></script>
<script src="js/reveal.js"></script>

<script>

// Full list of configuration options available at:
// https://github.com/hakimel/reveal.js#configuration
Reveal.initialize({
controls: true,
progress: true,
history: true,
center: true,

transition: 'slide', // none/fade/slide/convex/concave/zoom

// Optional reveal.js plugins
dependencies: [
{ src: 'lib/js/classList.js', condition: function() { return !document.body.classList; } },
{ src: 'plugin/markdown/marked.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } },
{ src: 'plugin/markdown/markdown.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } },
{ src: 'plugin/highlight/highlight.js', async: true, callback: function() { hljs.initHighlightingOnLoad(); } },
{ src: 'plugin/zoom-js/zoom.js', async: true },
{ src: 'plugin/notes/notes.js', async: true }
]
});

</script>

</body>
</html>
2 changes: 1 addition & 1 deletion md/big_data/intro-to-sql.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
-
-

### What is a databse?
### What is a database?

A database is an organized collection of data. A database will usually have some sort of api to query the data. Using a Structured Query Language (SQL) will allow you to interact with the data in a predictable way. A query in this case is a statement you ask a database. A properly made database will be able to answer a query with all relevent information.

Expand Down
44 changes: 44 additions & 0 deletions md/intro-to-docker.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
# Intro to Docker

-

### Overview

- What is Docker?
- Download Docker Desktop
- Install Docker Desktop
- Login to Docker Desktop
- Validate Installation

-
-

# What is Docker?

"Docker is a full development platform for creating containerized apps".

-

# Download Docker Desktop

1. Go to dockerHub (https://hub.docker.com/).
2. Create an account (https://hub.docker.com/signup).
3. Login with newly created account.
4. Download docker desktop (https://download.docker.com/mac/stable/Docker.dmg).

-

# Install Docker Desktop

1. Double click on the dmg file downloaded in previous step.
2. Follow the instructions on the wizard to install application.

-

# Validate Docker Desktop Installation

1. Launch Docker Desktop
2. Login to Docker Desktop
3. Open Terminal
4. Type `docker version`. You should see information related to the docker installation.
5. Type `docker run hello-world`. This will download and execute a docker image, thus validating you are able to access docker hub and download images from the the hub.