Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mirocow/docker-compose
Simple docker compose boxes
https://github.com/mirocow/docker-compose
docker-compose docker-container dockerfile dockerfiles
Last synced: 18 days ago
JSON representation
Simple docker compose boxes
- Host: GitHub
- URL: https://github.com/mirocow/docker-compose
- Owner: Mirocow
- Created: 2021-04-22T00:46:58.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2022-05-10T00:34:03.000Z (over 2 years ago)
- Last Synced: 2024-11-16T17:38:03.945Z (3 months ago)
- Topics: docker-compose, docker-container, dockerfile, dockerfiles
- Language: Shell
- Homepage:
- Size: 104 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Docker Box
## Create
```bash
$ docker network create --driver=bridge --subnet=172.100.1.0/24 --gateway=172.100.1.1 site_loc
```## Xdebug setup
Get active network`s interface name
```bash
$ ifconfig | pcregrep -M -o '^[^\t:]+:([^\n]|\n\t)*status: active' | egrep -o -m 1 '^[^\t:]+'
```example: return en0
### MacOs Creating or Adding New Network Alias To a Network Card (NIC)
```bash
$ sudo ifconfig en0 down
$ sudo ifconfig en0 alias 10.254.254.254 255.255.255.0
```### Linux Creating or Adding New Network Alias To a Network Card (NIC)
```bash
$ sudo ifconfig eno1:0 10.254.254.254 up
```### Windows
see: https://stackoverflow.com/questions/8944860/how-to-create-an-ip-alias-on-windows