Skip to content
Snippets Groups Projects
Commit 9a0ed542 authored by Michael Marsh's avatar Michael Marsh
Browse files

tweaked wording about VMs

parent 71f70dc9
No related branches found
No related tags found
No related merge requests found
...@@ -22,9 +22,11 @@ guest Linux OS, which is configured to automatically run some process ...@@ -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 when it starts. Nothing is running in it -- you can think of it
like a hard drive. like a hard drive.
The easiest way to get an image is to *pull* it from a *registry*. Docker The easiest way to get an image is to *pull* it from a *registry*.
has a default registry built in. Our VM is running Ubuntu 16.04, and it turns Docker has a default registry built in. We have, at times, used a
out there's an image available with this OS on it! Here's the command to run: 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 docker pull ubuntu:16.04
...@@ -176,8 +178,8 @@ command that's present on the image. Let's see this in action: ...@@ -176,8 +178,8 @@ command that's present on the image. Let's see this in action:
docker run ubuntu:16.04 /bin/date docker run ubuntu:16.04 /bin/date
That should print the date in the container. It's probably in UTC, while running 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 /bin/date (or the equivalent) on your computer should print the
can also specify options: date in Eastern US time (EST or EDT). You can also specify options:
docker run ubuntu:16.04 ls /var docker run ubuntu:16.04 ls /var
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment