linux:containers:docker-cheatsheet
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
linux:containers:docker-cheatsheet [24/12/2024 12:54] – created andrew | linux:containers:docker-cheatsheet [26/06/2025 14:52] (current) – [AWS ECR upload] andrew | ||
---|---|---|---|
Line 10: | Line 10: | ||
This adds a Repository and tag, note the '' | This adds a Repository and tag, note the '' | ||
- | # docker build -t gss/sai: | + | # docker build -t unit/abc: |
| | ||
# docker build -t friendlyello --tag=friendlyhello . | # docker build -t friendlyello --tag=friendlyhello . | ||
Line 16: | Line 16: | ||
# docker image ls | # docker image ls | ||
REPOSITORY | REPOSITORY | ||
- | | + | |
Line 40: | Line 40: | ||
root@ubuntu20: | root@ubuntu20: | ||
REPOSITORY | REPOSITORY | ||
- | gss/sai | + | uit/abc |
</ | </ | ||
Line 154: | Line 154: | ||
Or:- flask --app sample --debug run | Or:- flask --app sample --debug run | ||
+ | |||
+ | |||
+ | ====== AWS ECR upload ====== | ||
+ | |||
+ | |||
+ | |||
+ | <code json> | ||
+ | $ aws ecr create-repository --repository-name app01 | ||
+ | { | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | }, | ||
+ | " | ||
+ | " | ||
+ | } | ||
+ | } | ||
+ | } | ||
+ | </ | ||
linux/containers/docker-cheatsheet.1735044841.txt.gz · Last modified: by andrew