Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nickheap/docker-oe117-db
Dockerfile for OpenEdge 11.7 database
https://github.com/nickheap/docker-oe117-db
database docker dockerfile linux openedge
Last synced: about 2 months ago
JSON representation
Dockerfile for OpenEdge 11.7 database
- Host: GitHub
- URL: https://github.com/nickheap/docker-oe117-db
- Owner: NickHeap
- License: mit
- Created: 2018-03-05T22:03:32.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-05-10T07:32:45.000Z (over 6 years ago)
- Last Synced: 2024-09-29T10:03:20.601Z (3 months ago)
- Topics: database, docker, dockerfile, linux, openedge
- Language: OpenEdge ABL
- Size: 49.8 KB
- Stars: 1
- Watchers: 2
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: code-of-conduct.md
Awesome Lists containing this project
README
# docker-oe117-db
## docker commands
### Build the docker image
```bash
docker build -t oe117-db:0.1 -t oe117-db:latest .
```### Run the container
```bash
docker run -it --rm --name oe117-db -p 20666:20666 -p 20670-20700:20670-20700 oe117-db:latest
```### Run the container with a mapped volume for data
```bash
docker run -it --rm --name oe117-db -p 20666:20666 -p 20670-20700:20670-20700 -v S:/workspaces/docker-volumes/sports2000:/var/lib/openedge/data oe117-db:latest
```### Run the container with a mapped volume for data and one for code like triggers
```bash
docker run -it --rm --name oe117-db -p 20666:20666 -p 20670-20700:20670-20700 -v S:/workspaces/docker-volumes/sports2000:/var/lib/openedge/data -v S:/workspaces/docker-volumes/sports2000/code:/var/lib/openedge/code oe117-db:latest
```### Run the container with a mapped volume and rebuild database from sports2000
```bash
docker run -it --rm --name oe117-db -p 20666:20666 -p 20670-20700:20670-20700 -v S:/workspaces/docker-volumes/sports2000:/var/lib/openedge/data -e OPENEDGE_REBUILD=true -e OPENEDGE_BASE=sports2000 oe117-db:latest
```### Run the container with a mapped volume for data init and create db inside container
```bash
docker run -it --rm --name oe117-db -p 20666:20666 -p 20670-20700:20670-20700 -v S:/workspaces/docker-volumes/sports2000/init:/var/lib/openedge/data/init -e OPENEDGE_REBUILD=true -e OPENEDGE_DB=sports2000 -e OPENEDGE_BASE=empty8 -e OPENEDGE_UTF8=true oe117-db:latest
```### Run the container with a mapped volume for data init with utf8
```bash
docker run -it --rm --name oe117-db -p 20666:20666 -p 20670-20700:20670-20700 -v S:/workspaces/docker-volumes/sports2000:/var/lib/openedge/data -e OPENEDGE_DB=sports2000 -e OPENEDGE_UTF8=true oe117-db:latest
```### Run bash in the container
```bash
docker run -it --rm --name oe117-db -p 20666:20666 -p 20670-20700:20670-20700 oe117-db:latest bash
```### Exec bash in the running container
```bash
docker exec -it oe117-db bash
```### Stop the container
```bash
docker stop oe117-db
```### Clean the container
```bash
docker rm oe117-db
```- - -
Please note that this project is released with a [Contributor Code of Conduct](code-of-conduct.md). By participating in this project you agree to abide by its terms.