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

https://github.com/sillyhatxu/docker-ui


https://github.com/sillyhatxu/docker-ui

Last synced: 9 months ago
JSON representation

Awesome Lists containing this project

README

          

# learning-angular-container

## nginx container

Dockerfile
```
FROM nginx
COPY dist/learning-angular /usr/share/nginx/html
```

shell
```
docker build -t content-nginx .
docker run --name content-nginx -d -p 9800:80 content-nginx
```

browser
```
http://localhost:9800/demo.html
http://localhost:9800/index.html
```

## golang container

Dockerfile
```

```

shell
```
docker build -t content-golang .
docker run --name content-golang -d -p 9800:80 content-golang
```

browser
```
http://localhost:9800/demo.html
http://localhost:9800/index.html
```

```
docker run -it -v /var/run/docker.sock:/var/run/docker.sock ubuntu:latest sh -c "apt-get update ; apt-get install docker.io -y ; bash"
```