Skip to content

.env-cmdrc return an error while working with Docker run command #356

@talor1981

Description

@talor1981

Hi, I try to connect the env values in my app that are existing under the .env-cmdrc file via the 'docker run' command:
'docker run --env-file ./.env-cmdrc -v ${pwd}\src:/app/src -d -p 3000:3000 --name react-app react-image'
And I got an Error:
'docker: poorly formatted environment: variable '"local": {' contains whitespaces.'
Has anyone encountered this issue?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions