Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/io-sgr/docker-ubuntu-nginx
Simple and the latest nginx image on top of the latest Ubuntu
https://github.com/io-sgr/docker-ubuntu-nginx
docker docker-image nginx
Last synced: 25 days ago
JSON representation
Simple and the latest nginx image on top of the latest Ubuntu
- Host: GitHub
- URL: https://github.com/io-sgr/docker-ubuntu-nginx
- Owner: io-sgr
- License: apache-2.0
- Created: 2017-04-26T15:07:21.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2017-05-07T17:19:31.000Z (almost 8 years ago)
- Last Synced: 2024-11-19T21:34:40.022Z (3 months ago)
- Topics: docker, docker-image, nginx
- Language: Nginx
- Homepage:
- Size: 6.84 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Simple and the latest nginx image on top of the latest Ubuntu
This repository contains **Dockerfile** of [Nginx](https://nginx.org/) for [Docker](https://www.docker.com/)'s [automated build](https://hub.docker.com/r/sgrio/ubuntu-nginx/) published to the public [Docker Hub](https://hub.docker.com/).
The default server is listening to port 80 and port 443 with a self-signed certificate. If you send **GET** request to **/ping** will return code 200 and plain text "I'm up!", other locations will return 404 error. For more details of the configuration, please check the source code hosted at [Github](https://github.com/sgr-io/docker-ubuntu-nginx).
### Docker Tags
`sgrio/ubuntu-nginx` provides only one single tagged image:
* `latest` (default): build on top of `sgrio/ubuntu-base:latest`
### Installation
1. Install [Docker](https://www.docker.com/).
2. Download [automated build](https://hub.docker.com/r/sgrio/ubuntu-nginx/) from public [Docker Hub](https://hub.docker.com/): `docker pull sgrio/ubuntu-nginx`
(alternatively, you can build an image from Dockerfile: `docker build -t="sgrio/ubuntu-nginx" https://raw.githubusercontent.com/sgr-io/docker-ubuntu-nginx/master/Dockerfile`)
### Usage
docker run -d sgrio/ubuntu-nginx