Docker初心者です
docker-compose run web bundle exec rake db:create
するとこのようにエラーが出ます
ERROR: pull access denied for mysql2, repository does not exist or may require 'docker login': denied: requested access to the resource is denied
docker login
は成功するのに何故か作れません。
user@fukusyun-2 Books % docker-compose run web bundle exec rake db:create Pulling db (mysql2:0.4.4)... ERROR: pull access denied for mysql2, repository does not exist or may require 'docker login': denied: requested access to the resource is denied user@fukusyun-2 Books % docker login Authenticating with existing credentials... Login Succeeded
user@fukusyun-2 Books % docker search registry NAME DESCRIPTION STARS OFFICIAL AUTOMATED registry The Docker Registry 2.0 implementation for s… 3066 [OK] distribution/registry WARNING: NOT the registry official image!!! … 57 [OK] stefanscherer/registry-windows Containerized docker registry for Windows Se… 32 budry/registry-arm Docker registry build for Raspberry PI 2 and… 18 deis/registry Docker image registry for the Deis open sour… 12 jc21/registry-ui A nice web interface for managing your Docke… 12 anoxis/registry-cli You can list and delete tags from your priva… 10 [OK] allingeek/registry A specialization of registry:2 configured fo… 4 [OK] pallet/registry-swift Add swift storage support to the official do… 4 [OK] arm32v6/registry The Docker Registry 2.0 implementation for s… 3 goharbor/registry-photon 2 webhippie/registry Docker images for Registry 1 [OK] conjurinc/registry-oauth-server Docker registry authn/authz server backed by… 1 ibmcom/registry Docker Image for IBM Cloud private-CE (Commu… 1 concourse/registry-image-resource 1 metadata/registry Metadata Registry is a tool which helps you … 1 [OK] upmcenterprises/registry-creds 0 kontena/registry Kontena Registry 0 dwpdigital/registry-image-resource Concourse resource type 0 gisjedi/registry-proxy Reverse proxy of registry mirror image gisje… 0 lorieri/registry-ceph Ceph Rados Gateway (and any other S3 compati… 0 convox/registry 0 digillect/registry-cleaner Tool to remove unused images from Docker reg… 0 [OK] pivnet/registry-gcloud-image 0 deepsecurity/registryviews Deep Security Smart Check 0
webpacker.yml # Note: You must restart bin/webpack-dev-server for changes to take effect default: &default source_path: app/javascript source_entry_path: packs public_root_path: public public_output_path: packs cache_path: tmp/cache/webpacker check_yarn_integrity: false ここでエラー webpack_compile_output: true # Additional paths webpack should lookup modules # ['app/assets', 'engine/foo/app/assets'] resolved_paths: [] # Reload manifest.json on all requests so we reload latest compiled packs cache_manifest: false # Extract and emit a css file extract_css: false static_assets_extensions: - .jpg - .jpeg - .png - .gif - .tiff - .ico - .svg - .eot - .otf - .ttf - .woff - .woff2 extensions: - .mjs - .js - .sass - .scss - .css - .module.sass - .module.scss - .module.css - .png - .svg - .gif - .jpeg - .jpg development: <<: *default compile: true # Verifies that correct packages and versions are installed by inspecting package.json, yarn.lock, and node_modules check_yarn_integrity: true # Reference: https://webpack.js.org/configuration/dev-server/ dev_server: https: false host: localhost port: 3035 public: localhost:3035 hmr: false # Inline should be set to true if using HMR inline: true overlay: true compress: true disable_host_check: true use_local_ip: false quiet: false pretty: false headers: 'Access-Control-Allow-Origin': '*' watch_options: ignored: '**/node_modules/**' test: <<: *default compile: true # Compile test packs to a separate directory public_output_path: packs-test production: <<: *default # Production depends on precompilation of packs prior to booting for performance. compile: false # Extract and emit a css file extract_css: true # Cache manifest.json for performance cache_manifest: true
web_1 | => Booting Puma web_1 | => Rails 6.0.3.2 application starting in development web_1 | => Run `rails server --help` for more startup options web_1 | sh: 1: yarn: not found web_1 | web_1 | web_1 | ======================================== web_1 | Your Yarn packages are out of date! web_1 | Please run `yarn install --check-files` to update. web_1 | ======================================== web_1 | web_1 | web_1 | To disable this check, please change `check_yarn_integrity` web_1 | to `false` in your webpacker config file (config/webpacker.yml). web_1 | web_1 | web_1 | web_1 | web_1 | web_1 | Exiting books_web_1 exited with code 1
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2020/09/03 10:57
2020/09/03 11:02
2020/09/03 11:06
2020/09/03 11:32