Giter Club home page Giter Club logo

Comments (9)

PAbernet avatar PAbernet commented on August 31, 2024 1

Thanks for you help, btw. I appreciate it.

from templates.

samruddhikhandale avatar samruddhikhandale commented on August 31, 2024

I tried to open a Container with Python & Postgres template and it was successful.

- VS Code:  1.74.0 
- Dev Containers extension: v0.266.1
- MacOS:  13.0.1

Looking at your logs -

Error: No such image: operations_devcontainer_app

@PAbernet The Template's dockerfile mentions a python image. I wonder if you have accidentally modified that to operations_devcontainer_app?

from templates.

PAbernet avatar PAbernet commented on August 31, 2024

Nope. FROM mcr.microsoft.com/devcontainers/python:0-3.9
When I manually run docker-compose build/up it works just fine. Only VSCode seems to have an issue with my setup.

from templates.

samruddhikhandale avatar samruddhikhandale commented on August 31, 2024

Could you provide me version details for the following? 👇

  • VS Code:
  • Dev Containers extension:
  • OS info:
  • Docker Desktop:

Also, could you provide your repro steps? If you could search for operations_devcontainer_app within your workspace, then that would be great.

from templates.

PAbernet avatar PAbernet commented on August 31, 2024

From 'About VSCode':

Version: 1.74.0
Commit: 5235c6bb189b60b01b1f49062f4ffa42384f8c91
Date: 2022-12-05T16:47:18.476Z
Electron: 19.1.8
Chromium: 102.0.5005.167
Node.js: 16.14.2
V8: 10.2.154.15-electron.0
OS: Linux x64 5.14.0-1054-oem snap
Sandboxed: No
  • Dev Containers: v0.266.1
  • OS info: Ubuntu 18.04.6 LTS Kernel version 4.15.0-194-generic
  • Docker version 20.10.5, build 55c4c88

Repro steps:

  1. Create files from Python & Postgres template
  2. Change version string in docker-compose-yml to '3.7'. '3.8' fails immediately

The name operations_devcontainer_app is simply derived automatically. The repository/workspace I'm working in is named operations and the template uses app for the Python container.

from templates.

samruddhikhandale avatar samruddhikhandale commented on August 31, 2024

I still can not reproduce 😓 Comparing my logs with yours, I can see that the 👇 command either did not create the operations_devcontainer_app image or something deleted that.

docker-compose --project-name operations_devcontainer -f .... build --no-cache

In a terminal, can you check if this image exists with docker images ?

My successful log 👇
image

Also, can you paste your complete logs?

F1 > Dev Containers: Show Container Log

Also, I tried with docker-compose version 3.8 & 3.7. Works for both.

On another note, do you have Docker Compose installed? I believe it gets installed by default on Windows & Mac Docker Desktop but doesn't on Linux 🤔

from templates.

PAbernet avatar PAbernet commented on August 31, 2024

Using docker-compose version 1.17.1, build unknown on the remote host, version 1.25.0 on the local machine. So that might be part of the reason.

Here's the entire log:
remoteContainers-2022-12-14T18-46-22.464Z.log

from templates.

samruddhikhandale avatar samruddhikhandale commented on August 31, 2024

Found an issue which mentions this as a bug --> microsoft/vscode-remote-release#7651

However, this is expected to be fixed with latest versions of Dev Containers Extension (0.266.1 and 0.267.0-pre-release)

@PAbernet can you help double check if you have latest extension? Else, feel free to re-open the issue ☝️

from templates.

samruddhikhandale avatar samruddhikhandale commented on August 31, 2024

Closing in favor of microsoft/vscode-remote-release#7651

from templates.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.