commit 08ce1f2fe8b7e9cba7061f4b36adab0b44ef5eff Author: Passthem Date: Sun Jun 8 04:22:56 2025 +0900 first commit diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..417e598 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,4 @@ +# Dockerfile +FROM alpine:latest +COPY hello.txt /hello.txt +CMD ["cat", "/hello.txt"] diff --git a/hello.txt b/hello.txt new file mode 100644 index 0000000..90d784e --- /dev/null +++ b/hello.txt @@ -0,0 +1 @@ +喵——帕 diff --git a/笔记.md b/笔记.md new file mode 100644 index 0000000..c9d339c --- /dev/null +++ b/笔记.md @@ -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. +``` +