Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Nick Bearson
docker-science-stack
Commits
f9aa1bb9
Commit
f9aa1bb9
authored
Jul 22, 2016
by
Nick Bearson
Browse files
updating the image name to match what's on dockerhub
parent
4615086a
Changes
1
Hide whitespace changes
Inline
Side-by-side
README.md
View file @
f9aa1bb9
...
...
@@ -2,14 +2,14 @@
Docker cheatsheet:
```
bash
# Run the image, get a shell
docker run
-t
-i
nbearson/science-stack /bin/bash
docker run
-t
-i
nbearson/
docker-
science-stack /bin/bash
# Run the image, get a shell, and mount the current directory as /workspace
docker run
-it
--rm
-v
"
$PWD
"
:/workspace
-w
/workspace nbearson/science-stack /bin/bash
docker run
-it
--rm
-v
"
$PWD
"
:/workspace
-w
/workspace nbearson/
docker-
science-stack /bin/bash
# Build the image from just the Dockerfile
docker build
-t
nbearson/science-stack
.
docker build
-t
nbearson/
docker-
science-stack
.
# Push the built image to Dockerhub
docker push nbearson/science-stack
docker push nbearson/
docker-
science-stack
```
# Why?
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment