Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/paulo-correia/docker_apache_htaccess

Apache HTACCESS on Docker
https://github.com/paulo-correia/docker_apache_htaccess

alpine apache docker dockerfile htaccess

Last synced: 16 days ago
JSON representation

Apache HTACCESS on Docker

Awesome Lists containing this project

README

        

# Apache HTACCESS on Docker (Alpine Linux Image)

## Save Dockerfile on a folder Ex: Apache
**Caution: Only one dockerfile per folder**

### Generate image

docker build -t `` .

`` = Ex: apache or your_docker_hub_name/apache:1.0

### Running Container

docker run -d -p ``:80 ``

`` = Ex 8080

### If don't generate image, get from docker hub

docker run -d -p ``:80 paulocorreia/alpine_apache_htaccess:1.0

### Open Browser
`http://localhost:`

Default user is **sample**

Default password is **test**

If `` is 80 you can omit

If ask for user and password and before you type the default you see "It works on Docker HTACCESS!" is OK