Sign inSign up

synedra/docker-demo-pluralsight

By synedra

Updated almost 11 years ago

Demo Container for Pluralsight

Image
0

254

synedra/docker-demo-pluralsight repository overview

Docker Demo Repository

Demonstration repository for use when learning how to set up docker containers for workshops.

Create your own github repository

Browse to http://www.github.com/synedra/docker-demo.git

On github, Fork this repository to your own username

In a browser, browse to http://hub.docker.com Register with DockerHub In the menu bar, click on "Create... Automated Build" You will be prompted to link with GitHub or Bitbucket Connect Dockerhub account to Github account Again, click on Create -> Automated Build Select the repository that you just created - the fork of my repository Click on "Start Build" Under "Build details" the status of the build will appear - it can take minutes or hours to build the first container.

To set the system up on Windows or Macintosh using Docker:

  • Browse to http://www.docker.com/toolbox
  • Install the docker client for your operating system
  • Run the installed application
  • After you have started up the Docker instance, note the IP address for your docker instance
    • Execute this command: # docker run -i -t -p 80:3000 /docker-demo /bin/bash
    • In the docker container, type # node toppings.js Browse to the IP address for your docker instance in a web browser.

There, you've created your own docker container. All you need is the Dockerfile to tell the system how to build, and any changes you make to the git respository will kick off a new build in docker.

License

Apache 2.0

Copyright Kirsten Hunter [email protected]

Tag summary

Content type

Image

Digest

sha256:aacbab655

Size

185 MB

Last updated

almost 11 years ago

docker pull synedra/docker-demo-pluralsight