0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

久々のpush成功:今日のDocker作業

Last updated at Posted at 2022-08-27

エンジニア夏休み企画

個人開発と読書感想文に焦点を当てたのは良い企画だと思った。

個人開発

【個人開発】 効率的な背景 <エンジニア夏休み企画>

Cコンパイラの試験を一人でもくもくとやっているのは個人開発の一つの姿です。

読書感想文 

Cコンパイラが、C言語規格を本という入力として、コンパイルエラーまたは実行結果という出力を出しているのも読書感想文 と考えています。

docker 作業 

なぜか、docker pushがうまくいっていない。 

今日のdocker error <エンジニア夏休み企画>【個人開発】

そこで全部一旦消すことにした。 

$ docker images
REPOSITORY             TAG                 IMAGE ID            CREATED             SIZE
kaizenjapan/cppn5910   <none>              6923942cdca7        2 months ago        2.13GB
gcc                    latest              3f8e26ab44a6        3 months ago        1.27GB
$ docker rm $(docker ps -q -a)
753f8c98c459
86d08322e521
5dc228b8e12e
8d37178807ec
3e9137266d34
beffd31c1d5f
$ docker images
REPOSITORY             TAG                 IMAGE ID            CREATED             SIZE
kaizenjapan/cppn5910   <none>              6923942cdca7        2 months ago        2.13GB
gcc                    latest              3f8e26ab44a6        3 months ago        1.27GB
$ docker rmi $(docker images -q)
Untagged: kaizenjapan/cppn5910@sha256:5cad4264426d79087dedcbbb7fc5685a3594d830035dd71b26f15570e627d7f1
Deleted: sha256:6923942cdca7a38a7b63e4076d6c1a52d4f1772dbcd945834ef96e57e5665ebf
Deleted: sha256:74c931943e8711710351a241beee693c5649d2c05b649aab235cd90ba650050d
Untagged: gcc:latest
Untagged: gcc@sha256:edf8919c3642ea86da60e6cd7e86c0aa84389c6ab78a63fcfa216dccdd723822
Deleted: sha256:3f8e26ab44a6a540013e272b8bdb0d103fcf41ffd8dee0b75b65760db4dcf4ac
Deleted: sha256:b250bdcc175414042024b3e86cdb7bfe5f67ea791509db67eb28cc0865aee715
Deleted: sha256:fe7ec535e1f4a5d1954b70e15f107553869e98fd9a0bfa7dd030b93941926bde
Deleted: sha256:e7798087e9dd703a8181a2aeb2494e62ed2ec8f0d6d730d7c328616c10071202
Deleted: sha256:4af4b467412d98348d1efdeeefde84ed3da2ea180eb2b75277de43a7e5f934d1
Deleted: sha256:3171df72ede24599f91c129a91215dcd7bd60dfb06bc244bb2c96ac69a178dbd
Deleted: sha256:07a39554eef56d61b87b8182887617dabe23fe1dc2e3d262364edc40532bead6
Deleted: sha256:f96a62e97438c84cd89bf41408ab799663f2ed8d02c8aa2700f5ab7b0a13759f
Deleted: sha256:aab98b40d1834bdc05cd619b67a315a87cb769771cb7fa73aaff551b6d5a3afb
Deleted: sha256:e7597c345c2eb11bce09b055d7c167c526077d7c65f69a7f3c6150ffe3f557ea
$ docker run 

docker rmiのための順番 docker(9)

error

denied: requested access to the resource is denied

Dockerでpush時にrequested access to the resource is deniedとなる時

bash
denied: requested access to the resource is denied
$ docker login
Login with your Docker ID to push and pull images from Docker Hub. If you don't have a Docker ID, head over to https://hub.docker.com to create one.
Username: kaizenjapan
Password: 
Login Succeeded
$ docker push kaizenjapan/n5910
The push refers to repository [docker.io/kaizenjapan/n5910]
f49c49971cb7: Pushed 
e99269f80d71: Mounted from kaizenjapan/cppn5910 
35a0d891d916: Mounted from kaizenjapan/cppn5910 
542effee2a09: Mounted from kaizenjapan/cppn5910 
2574ab583884: Mounted from kaizenjapan/cppn5910 
50c7101c0044: Mounted from kaizenjapan/cppn5910 
2fbabeba902e: Mounted from kaizenjapan/cppn5910 
ee509ed6e976: Mounted from kaizenjapan/cppn5910 
9177197c67d0: Mounted from kaizenjapan/cppn5910 
7dbadf2b9bd8: Mounted from kaizenjapan/cppn5910 
e7597c345c2e: Mounted from kaizenjapan/cppn5910 
latest: digest: sha256:f21c536d4c9dda1c2122585d9397ee72332e1d4be81844189600eb509482c4d9 size: 2642
$ docker commit 5eaf7724ab4c kaizenjapan/n4910
$ docker push kaizenjapan/n4910
latest: digest: sha256:eb9109c6e2ad9cff456b62880b2b5f747122240d30f944199a4c202be58f3a33 size: 2642

ひさしぶりにpush成功。ありがとうございます。 

先週もloginしたのにダメだった理由は不明。 

これで箱庭もくもく会での作業も進むかも。 

箱庭もくもく会 #10 日時:2022/09/14(水) 17:30-19:30

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?