-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathdockerJazz.Rmd
43 lines (31 loc) · 991 Bytes
/
dockerJazz.Rmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
---
title: "Evolve Monkey Speak"
author: "Jeffrey C. Long"
date: "2/13/2021"
output: html_document
---
```{r setup, include=FALSE}
knitr::opts_chunk$set(echo = TRUE)
```
## Docker
[Docker tutorial](https://docker-curriculum.com/)
[Docker install mac](https://docs.docker.com/docker-for-mac/install/)
Start up Docker Desktop. Run through tutorial.
```{bash, eval = FALSE}
# Clone
docker run --name repo alpine/git clone https://github.com/docker/getting-started.git
docker cp repo:/git/getting-started/ .
# Build
cd getting-started/
docker build -t docker101tutorial .
# Run
docker run -d -p 80:80 --name docker-tutorial docker101tutorial
## Log into
# Share
docker tag docker101tutorial jeffreylong/docker101tutorial
docker push jeffreylong/docker101tutorial
```
### Repos
Public Repo:
[https://hub.docker.com/repositories](https://hub.docker.com/repositories)
Create a private repo: [https://hub.docker.com/u/jeffreylong/content](https://hub.docker.com/u/jeffreylong/content)