Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
docker-tutorial
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Michael Alan Marsh
docker-tutorial
Commits
9a0ed542
Commit
9a0ed542
authored
5 years ago
by
Michael Marsh
Browse files
Options
Downloads
Patches
Plain Diff
tweaked wording about VMs
parent
71f70dc9
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+7
-5
7 additions, 5 deletions
README.md
with
7 additions
and
5 deletions
README.md
+
7
−
5
View file @
9a0ed542
...
...
@@ -22,9 +22,11 @@ guest Linux OS, which is configured to automatically run some process
when it starts. Nothing is running in it -- you can think of it
like a hard drive.
The easiest way to get an image is to
*pull*
it from a
*registry*
. Docker
has a default registry built in. Our VM is running Ubuntu 16.04, and it turns
out there's an image available with this OS on it! Here's the command to run:
The easiest way to get an image is to
*pull*
it from a
*registry*
.
Docker has a default registry built in. We have, at times, used a
course VM that is running Ubuntu 16.04 for a common baseline, and
it turns out there's an image available with this OS on it! Here's
the command to run:
docker pull ubuntu:16.04
...
...
@@ -176,8 +178,8 @@ command that's present on the image. Let's see this in action:
docker run ubuntu:16.04 /bin/date
That should print the date in the container. It's probably in UTC, while running
/bin/date
on your VM should print the date in Eastern US time (EST or EDT). You
can also specify options:
/bin/date
(or the equivalent) on your computer should print the
date in Eastern US time (EST or EDT). You
can also specify options:
docker run ubuntu:16.04 ls /var
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment