Docker Swarm
vscode-dev-containers
DISCONTINUED
Our great sponsors
Docker Swarm | vscode-dev-containers | |
---|---|---|
150 | 41 | |
3,998 | 4,625 | |
0.7% | - | |
10.0 | 0.0 | |
6 days ago | 4 months ago | |
Markdown | Shell | |
Apache License 2.0 | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Docker Swarm
-
A Gentle Introduction to Containerization and Docker
This article wanted to be a brief and gentle introduction to the container and docker world, there is a lot more to learn so don’t hesitate to check the docker documentation.
-
Exploring Podman: A More Secure Docker Alternative
It appears they have since reverted the decision but it used to require logging in:
-
MongoDB on Your Local Machine Using Docker: A Step-by-Step Guide
Docker Documentation
-
High System quality with Spring integration tests
Docker is a tool that can help the developer to run each dependency in containers. Find more about Docker at Docker Official.
-
Common Security Vulnerabilities in Dockerfiles
According to Docker Docs, a Dockerfile is a text document that contains all the instructions a user could call on the command line to assemble an image. These instructions include actions like installing software, copying files, setting environment variables, and defining how an application should run.
- Docker - Setup a local JS and Python Development environment
-
Deploy your React App using Docker and Nginx
Hello reader, it's Sourab here. Recently in one of my projects I used Docker and Nginx for deploying a React App to a front-end server. Let's see how I did it.
-
New computer? Install THIS first... 💻
Learn more about Docker with the documentation.
-
How to Implement and Deploy a Smart Contract Event Listener with AWS CDK
Docker
-
Taming the whale: introduction to Docker
This has hopefully been a useful introduction to Docker. If you want to learn more about this technology, the first step would be to visit the official documentation; it is pretty well written. Other useful resources may be:
vscode-dev-containers
- How to use Ansible on Linux with tools like visual Studio code
-
Setup GitHub Codespaces with AWS IAM Roles Anywhere
// For format details, see https://aka.ms/devcontainer.json. For config options, see the README at: // https://github.com/microsoft/vscode-dev-containers/tree/v0.241.1/containers/ubuntu { "name": "Ubuntu", "build": { "dockerfile": "Dockerfile", "args": { "VARIANT": "ubuntu-22.04" } }, "postStartCommand": ".devcontainer/env.sh", "remoteUser": "vscode", "features": { "git": "os-provided", "aws-cli": "latest", "golang": "latest", "sshd": "latest" } }
-
Jupyter Notebooks + VSCode Dev Container with Puppeteer support
# See here for image contents: https://github.com/microsoft/vscode-dev-containers/tree/v0.245.0/containers/python-3/.devcontainer/base.Dockerfile # [Choice] Python version (use -bullseye variants on local arm64/Apple Silicon): 3, 3.10, 3.9, 3.8, 3.7, 3.6, 3-bullseye, 3.10-bullseye, 3.9-bullseye, 3.8-bullseye, 3.7-bullseye, 3.6-bullseye, 3-buster, 3.10-buster, 3.9-buster, 3.8-buster, 3.7-buster, 3.6-buster ARG VARIANT="3.10-bullseye" FROM mcr.microsoft.com/vscode/devcontainers/python:0-${VARIANT} # [Choice] Node.js version: none, lts/*, 16, 14, 12, 10 ARG NODE_VERSION="none" RUN if [ "${NODE_VERSION}" != "none" ]; then su vscode -c "umask 0002 && . /usr/local/share/nvm/nvm.sh && nvm install ${NODE_VERSION} 2>&1"; fi # Install Google Chrome Stable and fonts # Note: this installs the necessary libs to make the browser work with Puppeteer. ENV PUPPETEER_SKIP_CHROMIUM_DOWNLOAD true RUN apt-get update && apt-get install gnupg wget -y && \ wget --quiet --output-document=- https://dl-ssl.google.com/linux/linux_signing_key.pub | gpg --dearmor > /etc/apt/trusted.gpg.d/google-archive.gpg && \ sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list' && \ apt-get update && \ apt-get install google-chrome-stable -y --no-install-recommends && \ rm -rf /var/lib/apt/lists/* # [Optional] If your pip requirements rarely change, uncomment this section to add them to the image. COPY requirements.txt /tmp/pip-tmp/ RUN pip3 --disable-pip-version-check --no-cache-dir install -r /tmp/pip-tmp/requirements.txt \ && rm -rf /tmp/pip-tmp
-
rust-analyzer changelog #143
Looks like they do? https://github.com/microsoft/vscode-dev-containers/issues/675
-
Exploring .NET WebAssembly with WASI and Wasmtime
In the vscode-dev-containers repo, you'll see that there too is a .devcontainer directory. This contains instructions for building the dotnet vscode-dev-container. Click into the directory.
-
Introduction to GitHub Codespaces - Building your first Dev Container
Select a predefined container definition. In my case I will select 'Ubuntu'. NOTE: There is a growing variety of predefined images that can be selected from, maintained on GitHubs vscode-dev-containers repository:
-
Extending VSCode Dev Container Features
As documented here, a Dev Container's built-in features are sources from the script-library folder in the vscode-dev-containers repo. The Remote - Containers extension and GitHub Codespaces include "preview" functionality to extend Dev Container features. You can add any custom feature by using the dev-container-features-template sample repository.
-
CUDA Development Container
My laptop doesn't have a powerful GPU, so I usually build and test CUDA projects on a remote server. With the help of dev-containers, I wrote a configuration file for a CUDA development environment to make things easier. I'll be happy if you test it and give your opinions about it.
- Nix on Github Codespaces
-
How to use docker for development
// For format details, see https://aka.ms/vscode-remote/devcontainer.json or this file's README at: // https://github.com/microsoft/vscode-dev-containers/tree/v0.134.0/containers/javascript-node { "name": "lucas-paganini-api", "build": { "dockerfile": "./Dockerfile", "context": ".." }, "forwardPorts": [3000], "workspaceMount": "source=${localWorkspaceFolder},target=/var/www,type=bind", "workspaceFolder": "/var/www", "postStartCommand": "npm clean-install", "shutdownAction": "stopContainer", "settings": { "terminal.integrated.shell.linux": "/bin/bash" }, // Add the IDs of extensions you want to be installed when the container is created. "extensions": ["ms-vscode-remote.remote-containers", "esbenp.prettier-vscode"] }
What are some alternatives?
distrobox - Use any linux distribution inside your terminal. Enable both backward and forward compatibility with software and freedom to use whatever distribution you’re more comfortable with. Mirror available at: https://gitlab.com/89luca89/distrobox
openvscode-server - Run upstream VS Code on a remote machine with access through a modern web browser from any device, anywhere.
Code-Server - VS Code in the browser
dotfiles - ⊙ All the dotfiles needed to make the world a better place
Dokku - A docker-powered PaaS that helps you build and manage the lifecycle of applications
Vagrant - Vagrant is a tool for building and distributing development environments.
Harbor - An open source trusted cloud native registry project that stores, signs, and scans content.
SDKMan - The SDKMAN! Command Line Interface
angular-cli - CLI tool for Angular
CashFactory - Lightweight docker image running many passive income applications (proxy and bandwidth share) : Honeygain , EarnApp , IPRoyal Pawns , PacketStream , Peer2Profit
Docker Compose - Define and run multi-container applications with Docker
Spring Boot - Spring Boot