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

Issues running in Docker #28

Open
shawnsparks opened this issue Sep 10, 2024 · 0 comments
Open

Issues running in Docker #28

shawnsparks opened this issue Sep 10, 2024 · 0 comments

Comments

@shawnsparks
Copy link

We use Docker as part of local development. We have a volume setup between docker container and local source code so we don't need to rebuild the image each time we change the source code. Recently started switching from ts-node to tsimp. The .tsimp folder happens to be included in the volume. If the tsimp daemon is started outside the container and then tsimp is run inside the container, tsimp seems to crash with no output. If I remove the .tsimp folder and then start the container, tsimp will run fine in the container. The flip side of that is also true: if tsimp first run in container, it will fail outside the container. I'm assuming this has to do with Docker configuration related to the socket to the daemon. I'm not familiar enough with sockets to figure out how I could configure Docker to gracefully handle this. Any help would be appreciated.

Additionally, it might be worth looking into how tsimp is failing in this scenario to at least provide some output to the user.

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

1 participant