You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using the local deployer to deploy a containerized application the network property for Docker (deployer.*.local.docker.network) is being ignored.
The cause for this seems to be, that in the DockerCommandBuilder constructor the dockerNetwork is set:
When using the local deployer to deploy a containerized application the network property for Docker (
deployer.*.local.docker.network
) is being ignored.The cause for this seems to be, that in the DockerCommandBuilder constructor the dockerNetwork is set:
spring-cloud-deployer/spring-cloud-deployer-local/src/main/java/org/springframework/cloud/deployer/spi/local/DockerCommandBuilder.java
Lines 64 to 66 in 062e8cb
and then reused when building the execution command:
spring-cloud-deployer/spring-cloud-deployer-local/src/main/java/org/springframework/cloud/deployer/spi/local/DockerCommandBuilder.java
Lines 104 to 107 in 062e8cb
instead of using
localDeployerProperties.getDocker().getNetwork()
analogous to the other properties like volume mountings.This problem was also already reported in the old local deployer repository: spring-cloud/spring-cloud-deployer-local#199 (comment)
The text was updated successfully, but these errors were encountered: