Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Sheldon Hull created content/microblog/2020-06-04t22-15-21-00-00.md
- Loading branch information
1 parent
3d7fc4e
commit 928730b
Showing
2 changed files
with
22 additions
and
0 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
--- | ||
title: 2020-06-04T22:15:21+00:00 | ||
date: 2020-06-04 22:00:00 +00:00 | ||
tags: | ||
- til | ||
- tech | ||
- go | ||
- docker | ||
- sql-server | ||
|
||
--- | ||
- add dev container configuration for Go project in Visual Studio code | ||
- Added docker compose file | ||
- Add SQL Server to compose as another service. | ||
- `docker-compose up -d` | ||
- Attach to running container in VSCode | ||
- Magic ⚡ | ||
|
||
Now I can open Visual Studio Code and run a go project against SQL Server, and tear it all down as I want. Gonna definitely blog on this, as it's super cool to see this work so well. | ||
|
||
While Docker has a steep learning curve, being able to have a full clean dev test environment with SQL Server in a local container and another Ubuntu container to run Go projects in absolutely amazing, not to mention working "inside it" with Remote Workspaces extension from Microsoft. |