mariotoffia / FluentDocker

Use docker, docker-compose local and remote in tests and your .NET core/full framework apps via a FluentAPI
Apache License 2.0
1.31k stars 97 forks source link

Fixes and improvements to ExposeCommand #276

Closed pacyfist closed 1 year ago

pacyfist commented 2 years ago

According to Docker documentation EXPOSE command is delimited by spaces and not by commas and it's template looks like so: EXPOSE <port> [<port>/<protocol>...] This also means that a protocol can be provided so the ExposeCommand should also accept a string as input.

mariotoffia commented 1 year ago

Thanks @pacyfist for this PR! :)