docker-alpine-ftp-server
docker-alpine-ftp-server copied to clipboard
Cant store files when starting integration test on gitlab runner
Hi, i use this server in testcontainer and everythig works good when it on my local pc , but if i run build on gitlab test fails with this logs
i tried to add this evn pasv_promiscuous=yes to code, but it does not help
ftp = new FixedHostPortGenericContainer<>( "delfer/alpine-ftp-server:latest") .withExposedPorts(PORT) .withFixedExposedPort(freePort, freePort) .withEnv("USERS", USER + "|" + PASSWORD) .withEnv("MIN_PORT", String.valueOf(freePort)) .withEnv("MAX_PORT", String.valueOf(freePort)) .withEnv("CONF_SET_PARMS","pasv_promiscuous=yes");
Hello @apb12 ! It's look like you didn't set the correct ADDRESS
env variable. At the same time CONF_SET_PARMS
does not implemented and have no effect. If you want to change any parameter, you should replace vsftpd.conf file inside the container.