- Docker for Desktop can run on WSL 2 without any Virtual machine!
- WSL 2 is now available for stable Windows 10 (not just Insiders) via the (stable) Windows 10 May 2020 Update.
- WSL 2 is available for Windows Home editions, too, you don't need a Pro license!
- Docker for Desktop with WSL 2 eliminates many issues inherent to running a Linux VM and using shares into that VM.
- WSL 2 supports *nix permissions on Windows file systems mounted into WSL 2 (Postgres container mounts come into mind).
- WSL 2 also supports full GPU access – CUDA and such, too, since the 2021H2 November update even in non-insiders, stable!!
- VirtualBox (in recent version) [can now coexist with Hyper-V](https://us.informatiweb.net/tutorials/it/virtual
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Login to AWS registry (must have docker running) | |
docker-login: | |
$$(aws ecr get-login --no-include-email --region us-east-1 --profile=mycompany) | |
# Build docker target | |
docker-build: | |
docker build -f Dockerfile --no-cache -t mycompany/myapp . | |
# Tag docker image | |
docker-tag: |
Inspired by dannyfritz/commit-message-emoji
See also gitmoji.
Commit type | Emoji |
---|---|
Initial commit | 🎉 :tada: |
Version tag | 🔖 :bookmark: |
New feature | ✨ :sparkles: |
Bugfix | 🐛 :bug: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// set-up a connection between the client and the server | |
var socket = io.connect(); | |
// let's assume that the client page, once rendered, knows what room it wants to join | |
var room = "abc123"; | |
socket.on('connect', function() { | |
// Connected, let's sign-up for to receive messages for this room | |
socket.emit('room', room); | |
}); |