Add a new fig command for retrieving the locally bound port of a service.
Signed-off-by: Daniel Nephin <dnephin@gmail.com>
This commit is contained in:
parent
2827786886
commit
c48ee5caef
9 changed files with 164 additions and 51 deletions
7
tests/fixtures/ports-figfile/fig.yml
vendored
Normal file
7
tests/fixtures/ports-figfile/fig.yml
vendored
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
|
||||
simple:
|
||||
image: busybox:latest
|
||||
command: /bin/sleep 300
|
||||
ports:
|
||||
- '3000'
|
||||
- '9999:3001'
|
||||
Loading…
Add table
Add a link
Reference in a new issue