Skip to content

Commit 81281b7

Browse files
committed
Update blog/_posts/2021-02-15-docker.markdown via blog editor
1 parent 0b6e654 commit 81281b7

File tree

1 file changed

+19
-9
lines changed

1 file changed

+19
-9
lines changed

blog/_posts/2021-02-15-docker.markdown

Lines changed: 19 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ Docker is a platform that lets you package applications and their dependencies i
1111

1212
# Basic Docker commands
1313

14+
## Standalone containers
15+
1416
Build an image:
1517
```
1618
docker build -t alango/node-hello .
@@ -43,7 +45,17 @@ List all containers.
4345

4446
docker ps
4547

46-
# Azure
48+
## Docker Compose containers
49+
50+
Rebuild + recreate only that service (don't touch others):
51+
52+
```
53+
docker compose up -d --no-deps --build <service>
54+
```
55+
56+
# Running containers in the cloud
57+
58+
## Azure
4759

4860
Deploying to Azure:
4961
```
@@ -69,13 +81,8 @@ az container show \
6981

7082
https://docs.microsoft.com/en-us/azure/container-instances/container-instances-quickstart
7183

72-
# AWS
73-
https://docs.aws.amazon.com/AmazonECS/latest/developerguide/Welcome.html
74-
https://us-west-2.console.aws.amazon.com/ecs/home?region=us-west-2#/getStarted
75-
7684

77-
78-
# Docker on Azure
85+
### Az Cli commands
7986
Create a container:
8087
```
8188
az container create
@@ -94,9 +101,12 @@ az container show
94101
--out table
95102
```
96103

97-
https://docs.microsoft.com/en-us/azure/container-instances/container-instances-quickstart
98104

99-
# Docker on AWS
105+
## AWS
106+
https://docs.aws.amazon.com/AmazonECS/latest/developerguide/Welcome.html
107+
https://us-west-2.console.aws.amazon.com/ecs/home?region=us-west-2#/getStarted
108+
109+
https://docs.microsoft.com/en-us/azure/container-instances/container-instances-quickstart
100110
https://docs.aws.amazon.com/AmazonECS/latest/developerguide/Welcome.html
101111
https://us-west-2.console.aws.amazon.com/ecs/home?region=us-west-2#/getStarted
102112

0 commit comments

Comments
 (0)