Skip to content

Instantly share code, notes, and snippets.

@ljay79
Created June 14, 2018 21:36
Show Gist options
  • Save ljay79/22c475330dd6dc0702263334fa9cfd0a to your computer and use it in GitHub Desktop.
Save ljay79/22c475330dd6dc0702263334fa9cfd0a to your computer and use it in GitHub Desktop.
Notes: Docker - setup local development environment - for later reproducing
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 git@bitbucket.org
------------
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment