Coder Social home page Coder Social logo

d-apurva / docker-hello-world Goto Github PK

View Code? Open in Web Editor NEW

This project forked from vegasbrianc/docker-hello-world

0.0 1.0 0.0 145 KB

A forked copy of Tutum/docker-hello-world for Demo Purposes

Home Page: http://brianchristner.io

License: Apache License 2.0

Makefile 3.12% PHP 76.54% Shell 20.34%

docker-hello-world's Introduction

docker-hello-world

An updated image from the tutumcloud/docker-hello-world repo. This is a very basic Hello World image that we use to test the Automated build of the Dockerfile and the auto deployment of the updated container via Tutum.

Check out the full article on how to automate docker builds end-to-end: Brianchristner.io

Usage

To create the image vegasbrianc/docker-hello-world, execute the following command on the docker-hello-world folder:

docker build -t vegasbrianc/docker-hello-world .

You can now push your new image to the registry:

sudo docker push vegasbrianc/docker-hello-world

Running your Hello World docker image

Start your image:

sudo docker run -d -p 80 vegasbrianc/docker-hello-world

It will print the new container ID (like d35bf1374e88). Get the allocated external port:

sudo docker port d35bf1374e88 80

It will print the allocated port (like 4751). Test your deployment:

curl http://localhost:4751/

Editing the Hello World File

I've moved the application / logo to the /app directory. Inside of this directory you can edit the index.php file to customize the Hello World message and/or change the logo to your own.

docker-hello-world's People

Contributors

vegasbrianc avatar fermayo avatar oveits avatar tifayuki avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.