Comments (9)
Thanks for you help, btw. I appreciate it.
from templates.
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.
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.
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.
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:
- Create files from Python & Postgres template
- Change
version
string indocker-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.
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
?
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.
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.
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.
Closing in favor of microsoft/vscode-remote-release#7651
from templates.
Related Issues (20)
- The Anaconda image specified in the documentation is not available.
- [JS -node-mongo] Add Template options for bookworm
- How to initiate xdebug via web browser? HOT 2
- "Using localhost in Docker Compose" doc can have some improvement HOT 1
- ruby-rails-postgres devcontainer has no internet access
- Hi 👋 HOT 1
- dotnet template should include a volume mount for nuget package caching HOT 1
- include C# Dev Kit in dotnet template HOT 3
- Pin PostgreSQL version in `*-postgres` templates HOT 2
- javascript-node-mongo not building the container HOT 2
- Could not connect to mariaDB with imageVariant default HOT 1
- Docs about templates usage and behavior HOT 4
- Is there a way to `publish` template as image?
- typescript-node npm scripts error access HOT 1
- Stuck in "Replacing imageVariant with ..." step HOT 7
- I am a greener. Just ask a simple question about the toolchain in the container. HOT 1
- C+
- Active HOT 2
- postCreateCommand Permission denied HOT 2
- SSH key sharing works only for 0-20 HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from templates.