You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just noticed that the recent update has made it possible to Ctrl+Click on the image name, and then open an appropriate one in DockerHub, which is fantastic! . So I just encountered this little issue, and absolutely not a deal breaker at all, but it would be nice to have it fixed.
The situation:
I want all my stages to have the same WORKDIR and LABEL, and EXPOSE-ing the same port, so I put an official image at the top, and made it a base stage. A snippet of what I'm working is like this.
FROM node:12-alpine as base
LABEL MAINTAINER="Sam Huynh"
WORKDIR /srv/app
EXPOSE 1337
# Dev dependencies
FROM base as dev_dependencies
COPY package.json yarn.lock ./
RUN yarn install && \
yarn cache clean
# Dev stage
FROM base as development
COPY . .
COPY --from=dev_dependencies /srv/app/node_modules ./node_modules
CMD ["yarn", "develop"]
# Other stages
## Build something else...
I just noticed that the recent update has made it possible to Ctrl+Click on the image name, and then open an appropriate one in DockerHub, which is fantastic! .
Interesting, that feature should have been there for at least a year now... 🤔 Well, glad you find it useful, @samhwang!
As to your issue, thank you for bringing this to my attention. I have opened two tickets to address this.
Yeah I just got it working at least a month ago while I started working on some Dockerfiles for another project, and I swear I never saw it before March. :P
Hey VSCode Docker team,
I just noticed that the recent update has made it possible to Ctrl+Click on the image name, and then open an appropriate one in DockerHub, which is fantastic! . So I just encountered this little issue, and absolutely not a deal breaker at all, but it would be nice to have it fixed.
The situation:
I want all my stages to have the same
WORKDIR
andLABEL
, andEXPOSE
-ing the same port, so I put an official image at the top, and made it abase
stage. A snippet of what I'm working is like this.Working:
Ctrl+Clicking on
node
inFROM node:12-alpine
prompts me to open The official Node docker image, which is expected.Ctrl+clicking on
dev_dependencies
in--from=dev_dependencies
brings me back to the that stage, which is also correct.Expected:
base
inFROM base
goes back to thebase
stage.What happened:
base
inFROM base
prompts me to open The "offical" base docker image, which doesn't exist.Please let me know if there are any other info I can put in here.
The text was updated successfully, but these errors were encountered: