We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I think it might be useful to share :
FROM mcr.microsoft.com/devcontainers/base:0-alpine-3.18 RUN apk add --no-cache \ nodejs \ python3 \ npm \ make \ g++ \ docker-cli \ docker-cli-buildx \ docker-cli-compose \ ; RUN npm i -g @devcontainers/cli
And then Build the Dockerfile:
docker build -t devcontainer-cli .
Running the CLI with mounting the Host docker daemon + mounting the workspace :
docker run -it --rm -v <LocalWorkspaceFoldr>:/workspaces -v /var/run/docker.sock:/var/run/docker.sock devcontainer-cli /bin/ash
I Referenced @chrmarti post which was an answer by him regarding some issue.
But i think it's worth to share this Dockerfile ( I Can submit a PR as well ) . of course one can imagine multiple usages and pros:
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I think it might be useful to share :
And then Build the Dockerfile:
docker build -t devcontainer-cli .
Running the CLI with mounting the Host docker daemon + mounting the workspace :
I Referenced @chrmarti post which was an answer by him regarding some issue.
But i think it's worth to share this Dockerfile ( I Can submit a PR as well ) . of course one can imagine multiple usages and pros:
The text was updated successfully, but these errors were encountered: