first commit
This commit is contained in:
4
Dockerfile
Normal file
4
Dockerfile
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
# Dockerfile
|
||||||
|
FROM alpine:latest
|
||||||
|
COPY hello.txt /hello.txt
|
||||||
|
CMD ["cat", "/hello.txt"]
|
||||||
27
笔记.md
Normal file
27
笔记.md
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
# 记录
|
||||||
|
|
||||||
|
```sh
|
||||||
|
❯ docker tag temp-20250607.0350-my-tiny-app gitea.service.jazzwhom.top/kagami-public/temp-20250607.0350-my-tiny-app:latest
|
||||||
|
❯ docker push gitea.service.jazzwhom.top/kagami-public/temp-20250607.0350-my-tiny-app:latest
|
||||||
|
The push refers to repository [gitea.service.jazzwhom.top/kagami-public/temp-20250607.0350-my-tiny-app]
|
||||||
|
ef044ec6b667: Pushed
|
||||||
|
fd2758d7a50e: Mounted from passthem/dailybot/frontend
|
||||||
|
latest: digest: sha256:ba9efa27a2e8df8b0ca983f1b713970e4f869dcea88749908f7a9abe6e9df1fd size: 734
|
||||||
|
❯ ssh kagami
|
||||||
|
Linux kagami-debian 6.1.0-35-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.137-1 (2025-05-07) x86_64
|
||||||
|
|
||||||
|
Last login: Sun Jun 8 02:39:55 2025 from 192.168.31.19
|
||||||
|
❯ sudo docker run gitea.service.jazzwhom.top/kagami-public/temp-20250607.0350-my-tiny-app:latest
|
||||||
|
[sudo] passthem 的密码:
|
||||||
|
Unable to find image 'gitea.service.jazzwhom.top/kagami-public/temp-20250607.0350-my-tiny-app:latest' locally
|
||||||
|
latest: Pulling from kagami-public/temp-20250607.0350-my-tiny-app
|
||||||
|
fe07684b16b8: Already exists
|
||||||
|
fd4c1da6336a: Pull complete
|
||||||
|
Digest: sha256:ba9efa27a2e8df8b0ca983f1b713970e4f869dcea88749908f7a9abe6e9df1fd
|
||||||
|
Status: Downloaded newer image for gitea.service.jazzwhom.top/kagami-public/temp-20250607.0350-my-tiny-app:latest
|
||||||
|
Hello from a tiny Docker container! ( •̀ ω •́ )y
|
||||||
|
|
||||||
|
❯ exit
|
||||||
|
Connection to kagami-debian.moe closed.
|
||||||
|
```
|
||||||
|
|
||||||
Reference in New Issue
Block a user