jgsoftwares/alpinelinux_derbydb

By jgsoftwares

Updated 8 months ago

alpine linux egde - java open-jdk 11

Image
Databases & Storage
0

50

edit timezone to germany
apk add tzdata
ln -s /usr/share/zoneinfo/Europe/Berlin /etc/localtime

the interface is started with 127.0.0.1/8 by default
to edit the lo interface
--cap-add=NET_ADMIN
ip addr del 127.0.0.1/8 dev lo
ip addr add 127.0.0.1/24 dev lo

container start with resolv.conf from host system
--> http://demogitjava.ddns.net:8000/serverconfig/resov.conf
-v /etc/resolv.conf:/etc/resolv.conf

installed java runtime
openjdk version "11.0.22" 2024-01-16
OpenJDK Runtime Environment (build 11.0.22+7-alpine-r0)
OpenJDK 64-Bit Server VM (build 11.0.22+7-alpine-r0, mixed mode) \

docker run -it -p 0.0.0.0:1527:1527 --ip 172.17.0.2 --name derbydb --cap-add=NET_ADMIN -v /etc/resolv.conf:/etc/resolv.conf -v /var/run/docker.sock:/var/run/docker.sock --network 172.17.0.0 --restart unless-stopped --platform=linux/amd64 --cpu-quota 100000 --cpu-period 100000 --cpu-shares 1024 --cpuset-cpus="1" jgsoftwares/alpinelinux_derbydb:edge

Docker Pull Command

docker pull jgsoftwares/alpinelinux_derbydb