Skip to content
This repository was archived by the owner on Feb 8, 2019. It is now read-only.
This repository was archived by the owner on Feb 8, 2019. It is now read-only.

Working with Docker on Windows #48

@dwaxe

Description

@dwaxe

I was trying to set up the chronoscio backend on my Windows machine, and came upon an issue with the web docker container after running docker-compose up --build -d (make doesn't work in powershell 😢 ). django_01 wouldn't stop restarting. When I checked the logs (docker logs <container_id>), I saw the following error repeated over and over (since the container's restart policy is set to always):

./init.sh: set: line 3: illegal option -
: not foundline 2:
./init.sh: set: line 3: illegal option -
: not foundline 2:

This wound up being an issue with the line endings in that file. (https://stackoverflow.com/questions/35352955/set-illegal-option-on-one-host-but-not-the-other)

I fixed it by using the Change End of Line Sequence command in VSCode to change the line endings of init.sh from CRLF to LF.

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