Skip to content

Re: 'Quick start' Docker container does not work on MacOS #429

@JamesMooreDLUHC

Description

@JamesMooreDLUHC

Problem with 'Quick start' (https://docs.sign-in.service.gov.uk/quick-start/)

Hi, the docker container does not work on MacOS. This is due to the presence of the line network_mode: "host" in the docker compose. Removing this allows it to work but I have not checked it on other operating systems or if it causes unexpected consequences.

Reproduction steps:

  1. On MacOS device run the section under "Run the example service with the GOV.UK One Login simulator using Docker Compose"
  2. Attempt to access localhost:8080
  3. You will fail to complete the connection

Then removing both network_mode: "host" lines from the docker compose file and then rebuilding the docker images will allow it to work.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions