Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bazarr does not work with default template #67

Open
fengcda opened this issue Aug 22, 2021 · 1 comment
Open

Bazarr does not work with default template #67

fengcda opened this issue Aug 22, 2021 · 1 comment

Comments

@fengcda
Copy link

fengcda commented Aug 22, 2021

I needed to remove

    ports:
      - 6767:6767

from my docker-compose file for Bazarr and localhost:6767 still worked so I assume it's not necessary the default port bindings go the right place

ERROR: for bazarr  "host" network_mode is incompatible with port_bindings

ERROR: for bazarr  "host" network_mode is incompatible with port_bindings
Traceback (most recent call last):
  File "docker-compose", line 3, in <module>
  File "compose/cli/main.py", line 81, in main
  File "compose/cli/main.py", line 202, in perform_command
  File "compose/metrics/decorator.py", line 18, in wrapper
  File "compose/cli/main.py", line 1188, in up
  File "compose/cli/main.py", line 1184, in up
  File "compose/project.py", line 713, in up
  File "compose/parallel.py", line 108, in parallel_execute
  File "compose/parallel.py", line 206, in producer
  File "compose/project.py", line 699, in do
  File "compose/service.py", line 600, in execute_convergence_plan
  File "compose/service.py", line 522, in _execute_convergence_recreate
  File "compose/parallel.py", line 108, in parallel_execute
  File "compose/parallel.py", line 206, in producer
  File "compose/service.py", line 515, in recreate
  File "compose/service.py", line 634, in recreate_container
  File "compose/service.py", line 335, in create_container
  File "compose/service.py", line 959, in _get_container_create_options
  File "compose/service.py", line 1091, in _get_container_host_config
  File "docker/api/container.py", line 598, in create_host_config
  File "docker/types/containers.py", line 339, in __init__
docker.errors.InvalidArgument: "host" network_mode is incompatible with port_bindings
[451362] Failed to execute script docker-compose
@afloresescarcega
Copy link

Was able to replicate and solve this with the suggestion above. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants