Skip to content

Incorrect Network Label Error #133

@900008676

Description

@900008676

Upon trying to start the docker container for the first time I am receiving the following error in PowerShell:

time="2023-08-09T22:38:05-04:00" level=warning msg="a network with name xc1-cxa_default exists but was not created by compose.\nSet `external: true` to use an existing network"
network xc1-cxa_default was found but has incorrect label com.docker.compose.network set to ""

To Reproduce
Steps to reproduce the behavior:

  1. Download the SDK container for XC (Sitecore.Commerce.Container.SDK.4.0.87.zip)
  2. Install Docker Desktop 4.22.0
  3. Extract the SDK zip file
  4. Open PowerShell to download directory
  5. Browse to the scripts directory
  6. Run the following command: .\ComposeInit.ps1 -LicenseXmlPath "license.xml" -SitecoreAdminPassword "Password123$" -SqlSaPassword "Password123!" -CdHost "xxx.cd" -CmHost "xxx.cm" -IdHost "xxx.id" -BizFxHost "xxx.bizfx" -AuthoringHost "xxx.authoring" -ShopsHost "xxx.shops" -MinionsHost "xxx.minions" -Isolation "hyperv"
  7. Browse to the xc1-cxa directory
  8. Run: docker compose pull
  9. Run: docker compose up -d

Expected behavior
The docker images load as expected along with the site.

Screenshots
image

Desktop (please complete the following information):

  • OS: Windows 10
  • Browser Microsoft Edge
  • Version 22H2 (19045.3208)
  • Docker: 4.22.0

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