Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Previously, docker-compose used fixed port mappings (host and container ports matched, e.g: 4420:4420). However, that doesn't allow to deploy multiple instances of the same container (--scale nvmeof=N). Instead, ephemeral ports (randomly assigned by docker-compose) need to be used. Fortunately, docker-compose provides with the 'port' command, which maps container to host ports. Signed-off-by: Ernesto Puerta <[email protected]>
- Loading branch information