Skip to content

Latest commit

 

History

History
27 lines (20 loc) · 784 Bytes

File metadata and controls

27 lines (20 loc) · 784 Bytes

delphi_database_epidata

This image extends Delphi's database by:

  • adding the epi user account
  • adding the epidata database
  • creating empty tables in epidata

To start a container from this image, run:

docker run --rm -p 13306:3306 \
  --network delphi-net --name delphi_database_epidata \
  delphi_database_epidata

For debugging purposes, you can interactively connect to the database inside the container using a mysql client (either installed locally or supplied via a docker image) like this:

mysql --user=user --password=pass --port 13306 --host 127.0.0.1 epidata

Note that using host localhost may fail on some platforms as mysql will attempt, and fail, to use a Unix socket. Using 127.0.0.1, which implies TCP/IP, works instead.