Skip to content

This is a simple Hello World app written in Silex, running on Docker

License

Notifications You must be signed in to change notification settings

sskorc/docker-silex

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

docker-silex

This is a simple Hello World project written in Silex, running on Docker.

How to use it?

Basically, you need to have Docker installed.

Build an image

Build an image based on Dockerfile:

docker build -t docker-silex .

Run a container

Run a container based on created image:

docker run -d docker-silex

Check container's IP address

docker inspect --format='{{ .NetworkSettings.IPAddress }}' $(docker ps -l -q)

Test the app

Curl or open in a web browser URL based on IP address followed by /hello/World eg.:

curl http://172.17.0.5/hello/World

About

This is a simple Hello World app written in Silex, running on Docker

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages