Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Amazon ECR を利用していたと思ったら、Docker Hub を利用し続けていた / ...
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
bake0937
December 28, 2020
Technology
0
1k
Amazon ECR を利用していたと思ったら、Docker Hub を利用し続けていた / If I thought I was using Amazon ECR, I continued to use Docker Hub
ゆるWeb勉強会@札幌 OnLine #11 で登壇した際の資料です
https://mild-web-sap.connpass.com/event/197638/
bake0937
December 28, 2020
Tweet
Share
More Decks by bake0937
See All by bake0937
GASを使って非エンジニアが AWS Step Functions を 操作できる仕組みの紹介 / Introducing how non-engineers can operate AWS Step Functions using GAS
bake0937
1
470
CircleCI の有料プランを導入するためにやったこと/What I did to introduce CircleCI's paid plan
bake0937
0
1.7k
FlutterアプリのiOSビルドとアーカイブを CircleCI で自動化してみた / Tried automating the iOS build and archive of the Flutter app with CircleCI
bake0937
0
1.2k
Probot で学ぶ TypeScript / Learn with Probot TypeScript
bake0937
0
200
Jest + Puppeteer によるE2Eテストで確認作業を短縮してみた / End-to-end testing by Jest + Puppeteer shortened the confirmation work
bake0937
0
700
所属企業の Advent Calendar を初めて作った時に学んだこと / What I learned when I first created my company's Advent Calendar
bake0937
1
840
Notion 📚 へ移行して 3ヶ月経った振り返り / Looking back at Notion after 3 months
bake0937
0
5.9k
Bot開発でRubyを学ぶ / Learn Ruby with Bot Development
bake0937
0
470
小さく始めるOSS活動
bake0937
0
130
Other Decks in Technology
See All in Technology
Embedded SREの終わりを設計する 「なんとなく」から計画的な自立支援へ
sansantech
PRO
3
2.6k
FinTech SREのAWSサービス活用/Leveraging AWS Services in FinTech SRE
maaaato
0
130
SchooでVue.js/Nuxtを技術選定している理由
yamanoku
3
190
Claude_CodeでSEOを最適化する_AI_Ops_Community_Vol.2__マーケティングx_AIはここまで進化した.pdf
riku_423
2
610
10Xにおける品質保証活動の全体像と改善 #no_more_wait_for_test
nihonbuson
PRO
2
330
30万人の同時アクセスに耐えたい!新サービスの盤石なリリースを支える負荷試験 / SRE Kaigi 2026
genda
4
1.4k
SREじゃなかった僕らがenablingを通じて「SRE実践者」になるまでのリアル / SRE Kaigi 2026
aeonpeople
6
2.5k
【Oracle Cloud ウェビナー】[Oracle AI Database + AWS] Oracle Database@AWSで広がるクラウドの新たな選択肢とAI時代のデータ戦略
oracle4engineer
PRO
2
180
GitHub Issue Templates + Coding Agentで簡単みんなでIaC/Easy IaC for Everyone with GitHub Issue Templates + Coding Agent
aeonpeople
1
260
Webhook best practices for rock solid and resilient deployments
glaforge
2
300
20260208_第66回 コンピュータビジョン勉強会
keiichiito1978
0
190
会社紹介資料 / Sansan Company Profile
sansan33
PRO
15
400k
Featured
See All Featured
The B2B funnel & how to create a winning content strategy
katarinadahlin
PRO
1
280
Navigating the Design Leadership Dip - Product Design Week Design Leaders+ Conference 2024
apolaine
0
190
Designing for humans not robots
tammielis
254
26k
Building Applications with DynamoDB
mza
96
6.9k
Learning to Love Humans: Emotional Interface Design
aarron
275
41k
The Power of CSS Pseudo Elements
geoffreycrofte
80
6.2k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
254
22k
Stewardship and Sustainability of Urban and Community Forests
pwiseman
0
110
The Illustrated Children's Guide to Kubernetes
chrisshort
51
51k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
37
6.3k
Typedesign – Prime Four
hannesfritz
42
3k
The innovator’s Mindset - Leading Through an Era of Exponential Change - McGill University 2025
jdejongh
PRO
1
94
Transcript
Amazon ECR を利用していた と思ったら、Docker Hub を利 用し続けていた okabeeeat 2020.12.28
/ ゆるWeb勉強会@札幌 OnLine #11
某ライフスタイルメディアで Rails や JavsScript を書いてます 札幌市出身(東京都在住) よく使っていたモーグルの技: スプレッドイーグル 好きなモーグルの技: フロントフリップ
岡部恭平 @okabeeeat Webアプリケーションエンジニア
本日は5分LTな ので
構築時に凡ミスした ことを共有します
CI の構成
buildspec.yml(pre_build部分) 〜
CI用のdocker-compose.yml 〜
色々詰まったが何とかを 構築できた
そんなある日... Scaling Docker to Serve Millions More Developers: Network Egress,
https://www.docker.com/blog/scaling-docker-to-serve-millions-more-developers-network-egress/ Docker Hub で Pull 回数に制限が...
Amazon ECR を使ってる から大丈夫!!!
しかし...
Too Many Requests...
なぜ...
CI 用の .env を見てみると... COMPOSE_FILE !?
COMPOSE_FILE とは? Compose ファイルへのパスを指定します。 指定されなかった場 合、Compose はカレントディレクトリ内の docker-compose.yml と いうファイルを探します。
そしてファイルが見つからなければ、この 名前のファイルを見つけるまで親ディレクトリを順にたどって探しま す。 Compose CLI 環境変数, https://docs.docker.jp/compose/reference/envvars.html
build しちゃってる... 〜 〜
つまり... buildspec.ymlにある docker-compose.ymlは 意味がなかった...
CI の構成(こうだと思っていた...)
実際
対策
やっとこの構成になった... Pull 回数の制限も気にしなくて良くなった
まとめと所感 ・Amazon ECR を利用していたと思ったら、Docker Hub を利用し続けていた ・Docker の知識が不足していた ・環境変数への注意が向いていなかった ・buildspec.ymlを修正し,やっとAmazon
ECRを利用 することができた ・ の構築を通して,Docker を勉強するモチベー ションが上がった
ご清聴ありがとうございました