Skip to content
Snippets Groups Projects
Commit c727a7ea3f50 authored by Vincent Hatakeyama's avatar Vincent Hatakeyama
Browse files

docker dev start: only publish port if not using host network

parent e2ffb23280d3
No related branches found
No related tags found
No related merge requests found
...@@ -253,8 +253,6 @@ ...@@ -253,8 +253,6 @@
'--name', '--name',
project_name, project_name,
'--rm', '--rm',
'--publish',
'8069:8069',
'--tty', '--tty',
'--interactive', '--interactive',
] ]
...@@ -258,6 +256,9 @@ ...@@ -258,6 +256,9 @@
'--tty', '--tty',
'--interactive', '--interactive',
] ]
if not use_host_network:
options.append('--publish')
options.append('8069:8069')
binds = [] binds = []
arg = [ arg = [
'start', 'start',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment