teratail header banner
teratail header banner
質問するログイン新規登録

質問編集履歴

3

タイトル修正

2021/06/27 08:54

投稿

shishi_maru440
shishi_maru440

スコア38

title CHANGED
@@ -1,1 +1,1 @@
1
- Dockerイメージをビルドする時にエラー発生[ During handling of the above exception, another exception occurred: ]
1
+ Docker】Dockerfileからイメージをビルドする時にエラー発生
body CHANGED
File without changes

2

文法の修正

2021/06/27 08:53

投稿

shishi_maru440
shishi_maru440

スコア38

title CHANGED
@@ -1,1 +1,1 @@
1
- Dockerでmediapipeのイメージを作成できない
1
+ Dockerでイメージをビルドする時にエラー発生[ During handling of the above exception, another exception occurred: ]
body CHANGED
@@ -1,15 +1,22 @@
1
1
  ### 前提・実現したいこと
2
2
 
3
- Dockerでmediapipeのイメージ作成からコンテナ起動までを実現したい。
3
+ Dockerでmediapipeのイメージのビルドからコンテナ起動までを実現したい。
4
4
  mediapipeのビルドは下記を参考。
5
5
  https://google.github.io/mediapipe/getting_started/install.html#installing-using-docker
6
6
 
7
7
  ### 発生している問題・エラーメッセージ
8
8
 
9
9
  ```
10
- Unable to find image 'mediapipe:latest' locally
10
+ During handling of the above exception, another exception occurred:
11
+
12
+ Traceback (most recent call last):
13
+ File "/usr/lib/python3/dist-packages/pip/req/req_install.py", line 82, in __init__
14
+ req = Requirement(req)
11
- docker: Error response from daemon: pull access denied for mediapipe, repository does not exist or may require 'docker login': denied: requested access to the resource is denied.
15
+ File "/usr/share/python-wheels/packaging-17.1-py2.py3-none-any.whl/packaging/requirements.py", line 97, in __init__
12
- See 'docker run --help'.
16
+ requirement_string[e.loc:e.loc + 8]))
17
+ pip._vendor.packaging.requirements.InvalidRequirement: Invalid requirement, parse error at "'=='"
18
+
19
+ The command '/bin/sh -c pip3 install six == 1.14.0' returned a non-zero code: 1
13
20
  ```
14
21
 
15
22
  ### 該当のソースコード
@@ -17,11 +24,11 @@
17
24
  ```iterm2
18
25
  git clone https://github.com/google/mediapipe.git
19
26
  cd mediapipe
20
- docker build --tag=mediapipe .
27
+ docker build -t dc_mediapipe /Users/440h/mediapipe/
21
28
  ```
22
29
  ```iterm2
23
30
  ここでエラー発生
24
- docker run -it --name mediapipe mediapipe:latest
31
+ docker build -t dc_mediapipe /Users/440h/mediapipe/
25
32
  ```
26
33
  ```dockerfile
27
34
  FROM ubuntu:18.04
@@ -92,7 +99,6 @@
92
99
  six
93
100
  wheel
94
101
  ```
95
- ![イメージ説明](a5c32e5707b08ae38ef0abbf930fc093.png)
96
102
 
97
103
  ### 試したこと
98
104
  docker login してからやってみましたが結果は同じでした。

1

文法の修正

2021/06/27 08:47

投稿

shishi_maru440
shishi_maru440

スコア38

title CHANGED
File without changes
body CHANGED
@@ -1,6 +1,8 @@
1
1
  ### 前提・実現したいこと
2
2
 
3
3
  Dockerでmediapipeのイメージ作成からコンテナ起動までを実現したい。
4
+ mediapipeのビルドは下記を参考。
5
+ https://google.github.io/mediapipe/getting_started/install.html#installing-using-docker
4
6
 
5
7
  ### 発生している問題・エラーメッセージ
6
8