https://github.com/whisklabs/fastboot-containers
https://github.com/whisklabs/fastboot-containers
Last synced: 28 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/whisklabs/fastboot-containers
- Owner: whisklabs
- Created: 2017-09-09T21:13:39.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2021-01-15T16:07:37.000Z (over 4 years ago)
- Last Synced: 2025-02-22T20:48:25.758Z (8 months ago)
- Language: Dockerfile
- Size: 22.5 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Build container:
```bash
docker build -t fastboot-mysql-tmp mysql/5.7/
```run test container
```bash
docker run -e MYSQL_DATABASE=test -e MYSQL_USER=test -e MYSQL_PASSWORD=test -e MYSQL_ROOT_PASSWORD=test fastboot-mysql-tmp mysqld
```wait till it finish the initialisation process
```bash
docker psCONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
0d05ae55473f fastboot-mysql-tmp "docker-entrypoint..." About a minute ago Up 59 seconds 3306/tcp gifted_nightingale
```Commit container
```bash
docker stop 0d05ae55473f
docker commit 0d05ae55473f quay.io/whisk/fastboot-mysql:5.7.19
```