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

Attach to the current docker container does not work #25

Open
kasir-barati opened this issue Jan 1, 2022 · 0 comments
Open

Attach to the current docker container does not work #25

kasir-barati opened this issue Jan 1, 2022 · 0 comments

Comments

@kasir-barati
Copy link

When I try to attach to the running container it throw this error:

> Executing task: npm run watch <


> node-skeleton@1.0.0 watch
> tsc -w -p ./

sh: line 1: tsc: command not found
The terminal process "bash '-c', 'npm run watch'" terminated with exit code: 127.

Press any key to close the terminal.

What I did:

  1. git clone git@github.com:tvvignesh/node-skeleton.git
  2. Open integrated VSCode terminal and execute this command in it: docker-compose up --build
  3. Now in VSCode I press ctrl + shift + d and try to attach to docker

uname -a output:

Linux kasir 5.10.84-1-MANJARO #1 SMP PREEMPT Wed Dec 8 09:50:30 UTC 2021 x86_64 GNU/Linux

docer version output:

Client:
 Version:           20.10.11
 API version:       1.41
 Go version:        go1.17.3
 Git commit:        dea9396e18
 Built:             Sat Nov 20 12:57:52 2021
 OS/Arch:           linux/amd64
 Context:           default
 Experimental:      true

Server:
 Engine:
  Version:          20.10.11
  API version:      1.41 (minimum version 1.12)
  Go version:       go1.17.3
  Git commit:       847da184ad
  Built:            Sat Nov 20 12:57:08 2021
  OS/Arch:          linux/amd64
  Experimental:     false
 containerd:
  Version:          v1.5.8
  GitCommit:        1e5ef943eb76627a6d3b6de8cd1ef6537f393a71.m
 runc:
  Version:          1.0.3
  GitCommit:        v1.0.3-0-gf46b6ba2
 docker-init:
  Version:          0.19.0
  GitCommit:        de40ad0
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