IMC3ofC / db2express-c.docker

Dockerfile and scripts for creating IBM DB2 Express-C Docker image
Other
26 stars 27 forks source link

Container doesn't start #4

Open gxvigo opened 8 years ago

gxvigo commented 8 years ago

Hi There, first, running the container with the command in the Readme, I receive an error: "docker run --name db2expc -d -p 50000:50000 -e DB2INST1_PASSWORD=db2inst1-pwd -e LICENSE=accept db2express-c:latest -d"

RC: adae73f17541887a4789241162a0bc79ec6962b80a6ffe10c92ecc371d73cb7b Error response from daemon: Cannot start container adae73f17541887a4789241162a0bc79ec6962b80a6ffe10c92ecc371d73cb7b: [8] System error: exec: "-d": executable file not found in $PATH

Removing the "-d" at the end, the error message is not returned. Nevertheless the container doesn't start. CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES b1e6503bdd2f db2express-c:latest "/bin/bash" 3 seconds ago Exited (0) 2 seconds ago db2expc

"docker logs b1e6503bdd2f" returns nothing.

Any idea?

Giovanni

wzymaster commented 8 years ago

@gxvigo please refer to the information at DB2 on Docker Hub to start docker