Category : visual-studio-code

I am trying to setup a ReactJS workspace in VSCode for Parabol. While executing the command yarn db:start, I am receiving the below exception. yarn run v1.22.11 $ docker-compose -f docker/dev.yml up -d Traceback (most recent call last): File "dockerapiclient.py", line 214, in _retrieve_server_version File "dockerapidaemon.py", line 181, in version File "dockerutilsdecorators.py", line 46, in ..

Read more

I am currently working on a devcontainer setup using a compose file. I am wondering why the examples shown in the docs use the :cached suffix instead of :delegated. I was thinking that with such a devcontainer, one is basically inside the container when making changes to the volume. So delegated would be more reasonable. ..

Read more

After a lot of tries I finally managed to get docker on my computer. So I have an app1 directory with the following files: Dockerfile: EXPOSE 8080 WORKDIR /app COPY package-lock.json . COPY package.json . RUN npm install CMD ["npm", "start"] package.json: { "name": "app1", "version": "1.0.0", "description": "", "main": "server.js", "scripts": { "start": "node ..

Read more

This is the error I am getting for the following setting. > Executing task: docker-run: debug < > docker run -dt -P –name "latticeconsumption-dev" –label "com.microsoft.created-by=visual-studio-code" -v "/Users/sparshgoil/Documents/locale/lattice-consumption:/app" -v "/Users/sparshgoil/.vscode/extensions/ms-python.python-2021.9.1230869389/pythonFiles/lib/python/debugpy:/debugpy:ro" –entrypoint "python3" "latticeconsumption:latest" < WARNING: The requested image’s platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested Below ..

Read more

I have followed these steps and when I run PS C:dockeragent> docker build -t dockeragent:latest . I get [+] Building 0.8s (3/3) FINISHED => [internal] load build definition from Dockerfile 0.0s => => transferring dockerfile: 31B 0.0s => [internal] load .dockerignore 0.0s => => transferring context: 2B 0.0s => ERROR [internal] load metadata for mcr.microsoft.com/windows/servercore:ltsc2019 ..

Read more