Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nickheap2/docker-oe117-db
Dockerfile for OpenEdge 11.7 database
https://github.com/nickheap2/docker-oe117-db
database docker dockerfile linux openedge
Last synced: 22 days ago
JSON representation
Dockerfile for OpenEdge 11.7 database
- Host: GitHub
- URL: https://github.com/nickheap2/docker-oe117-db
- Owner: NickHeap2
- License: mit
- Created: 2018-08-15T22:39:37.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-05-10T12:27:23.000Z (over 4 years ago)
- Last Synced: 2024-11-10T12:31:45.354Z (3 months ago)
- Topics: database, docker, dockerfile, linux, openedge
- Language: OpenEdge ABL
- Size: 52.7 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
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.