Skip to content

A Dockerfile that installs the latest mongodb, nodejs and uptime

Notifications You must be signed in to change notification settings

ekalinin/docker-uptime

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker-uptime

A Dockerfile that installs the latest mongodb, nodejs and uptime

Install

# get the latests version
$ git clone https://github.com/ekalinin/docker-uptime
$ cd docker-uptime

# build the docker image
$ make build

# run docker's container
$ make run

Usage

List ports

$ sudo docker ps
ID                  IMAGE                           COMMAND                CREATED             STATUS              PORTS
fb5aa74a5247        kev/docker-uptime:latest        /usr/bin/supervisord   2 days ago          Up 2 days           49162->22, 49163->8082 

Connect via shh

# see Dockerfile for root's password

$ ssh -p 49162 root@127.0.0.1
root@127.0.0.1's password: 

 root@fb5aa74a5247:~# logout
 Connection to 127.0.0.1 closed.

Check uptime UI

$ curl -I http://127.0.0.1:49163
HTTP/1.1 302 Moved Temporarily
X-Powered-By: Express
Location: /dashboard/events
Vary: Accept
Content-Type: text/plain
Content-Length: 51
Date: Thu, 18 Sep 2013 19:56:44 GMT
Connection: keep-alive

About

A Dockerfile that installs the latest mongodb, nodejs and uptime

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages