Created
June 14, 2018 21:36
-
-
Save ljay79/22c475330dd6dc0702263334fa9cfd0a to your computer and use it in GitHub Desktop.
Notes: Docker - setup local development environment - for later reproducing
This file contains hidden or 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
Developer Environment Setup - local | |
--------------------------------------------- | |
Pre-Requisite: | |
- windows 10 pro localhost workstation | |
- WSL installed (with Ubuntu) | |
- "Docker for Windows" installed | |
- Bitbucket account with SSH keys | |
------------ | |
Windows 10 | |
- Hyper-V installed/enabled | |
- Folder Structure (Sample) | |
- WWW-Internetinformatio services (disabled) | |
-- no port 80/443 binding on windows host system | |
------------ | |
WSL | |
- install instructs | |
- recommendations: Ubuntu, ConEmu, | |
------------ | |
Docker for Windows | |
- Settings: "Expose daemon on tcp://localhost:2375 without TLS" | |
- Shared Drives: share at least one host drive | |
- Recommendation: | |
-- Network: DNS Server -> fixed: 8.8.8.8 | |
- docker-compose install | |
------------ | |
Bitbucket SSH access | |
(https://confluence.atlassian.com/bitbucket/set-up-an-ssh-key-728138079.html) | |
- run in WSL bash console | |
- $ cd ~ | |
- $ ssh-keygen | |
- $ eval $(ssh-agent) | |
- $ ssh-add ~/.ssh/id_rsa | |
- add public ssh key to your bitbucket settings | |
- $ cat ~/.ssh/id_rsa.pub | |
... | |
- verify configuration | |
- $ ssh -T [email protected] | |
------------ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment