Skip to content

Franklin89/docker-tarball

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

docker-tarball

Very simple docker image hosting a simple webpage that was packaged as a splitted tarball

Build

docker build -t docker-tarball .

Run

docker run -p 8080:80 -d docker-tarball

or take the image from docker hub.

docker run -p 8080:80 -d franklin89/docker-tarball

Then start up a browser and check that the Hello World page is displayed

Sample web page that should be displayed

<html>
<head>
    <title>Hello World</title>
</head>
<body>
    <h1>Hello World</h1>
</body>
</html>