[Bug]: Docker Client protocol magically changed from tcp to http in oracle-xe #8794
Labels
resolution/waiting-for-info
Waiting for more information of the issue author or another 3rd party.
type/bug
Module
Oracle XE
Testcontainers version
1.19.7
Using the latest Testcontainers version?
No
Host OS
Linux
Host Arch
x86
Docker version
What happened?
I am using spring boot +
testImplementation 'org.springframework.boot:spring-boot-testcontainers'
to initialize stuff. I am running a junit test using a real db to do stuff.
When running testcontainers in dind gitlab-ci, I am setting DOCKER_HOST=tcp://dockerdind:8076 (tried port 2375/2376 also). Somehow the ryuk container works but when I try to initialize Oracle-xe using
new OracleContainer("gvenzl/oracle-xe:slim")
.withUsername("XX")
.withPassword("XX")
.withConnectTimeoutSeconds(120) //no effect on bug
.withStartupTimeoutSeconds(120) //no effect on bug
.withCopyFileToContainer(MountableFile.forClasspathResource("XXsql"), "/container-entrypoint-initdb.d/init.sql");
The container fails to initialize
Relevant log output
Additional Information
No response
The text was updated successfully, but these errors were encountered: