質問をすることでしか得られない、回答やアドバイスがある。

15分調べてもわからないことは、質問しよう!

新規登録して質問してみよう
ただいま回答率
85.46%
Docker

Dockerは、Docker社が開発したオープンソースのコンテナー管理ソフトウェアの1つです

Q&A

解決済

1回答

1066閲覧

docker desktop for windows起動エラー

milktei

総合スコア0

Docker

Dockerは、Docker社が開発したオープンソースのコンテナー管理ソフトウェアの1つです

0グッド

0クリップ

投稿2021/09/19 01:19

前提・実現したいこと

Docker desktop for windowsを正常に起動したい。
解決策について情報をお持ちでしたらご教示いただければ幸いです。

発生している問題・エラーメッセージ

[09:41:58.959][GUI ][Error ] System.ArgumentException: Unable to create an instance of Docker.App: Unable to create an instance of Docker.WPF.Nps.NPS: Unable to create an instance of Docker.WPF.Nps.WootricService: 呼び出しのターゲットが例外をスローしました。 場所 Docker.Core.Di.Singletons.NewInstance(Type type, Int32 depth) 場所 C:\workspaces\PR-16070\src\github.com\docker\pinata\win\src\Docker.Core\di\Singletons.cs:行 89 場所 Docker.Core.Di.Singletons.Get(Type type, Int32 depth) 場所 C:\workspaces\PR-16070\src\github.com\docker\pinata\win\src\Docker.Core\di\Singletons.cs:行 51 場所 Docker.Core.Di.Singletons.Get[T]() 場所 C:\workspaces\PR-16070\src\github.com\docker\pinata\win\src\Docker.Core\di\Singletons.cs:行 28 場所 Docker.Program.Run(IReadOnlyCollection`1 args) 場所 C:\workspaces\PR-16070\src\github.com\docker\pinata\win\src\Docker.Desktop\Program.cs:行 268 System.ArgumentException: Unable to create an instance of Docker.WPF.Nps.NPS: Unable to create an instance of Docker.WPF.Nps.WootricService: 呼び出しのターゲットが例外をスローしました。 場所 Docker.Core.Di.Singletons.NewInstance(Type type, Int32 depth) 場所 C:\workspaces\PR-16070\src\github.com\docker\pinata\win\src\Docker.Core\di\Singletons.cs:行 89 場所 Docker.Core.Di.Singletons.Get(Type type, Int32 depth) 場所 C:\workspaces\PR-16070\src\github.com\docker\pinata\win\src\Docker.Core\di\Singletons.cs:行 51 場所 System.Linq.Enumerable.WhereSelectArrayIterator`2.MoveNext() 場所 System.Linq.Buffer`1..ctor(IEnumerable`1 source) 場所 System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source) 場所 Docker.Core.Di.Singletons.NewInstance(Type type, Int32 depth) 場所 C:\workspaces\PR-16070\src\github.com\docker\pinata\win\src\Docker.Core\di\Singletons.cs:行 83 System.ArgumentException: Unable to create an instance of Docker.WPF.Nps.WootricService: 呼び出しのターゲットが例外をスローしました。 場所 Docker.Core.Di.Singletons.NewInstance(Type type, Int32 depth) 場所 C:\workspaces\PR-16070\src\github.com\docker\pinata\win\src\Docker.Core\di\Singletons.cs:行 93 場所 Docker.Core.Di.Singletons.Get(Type type, Int32 depth) 場所 C:\workspaces\PR-16070\src\github.com\docker\pinata\win\src\Docker.Core\di\Singletons.cs:行 51 場所 System.Linq.Enumerable.WhereSelectArrayIterator`2.MoveNext() 場所 System.Linq.Buffer`1..ctor(IEnumerable`1 source) 場所 System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source) 場所 Docker.Core.Di.Singletons.NewInstance(Type type, Int32 depth) 場所 C:\workspaces\PR-16070\src\github.com\docker\pinata\win\src\Docker.Core\di\Singletons.cs:行 83 System.Reflection.TargetInvocationException: 呼び出しのターゲットが例外をスローしました。 場所 System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor) 場所 System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) 場所 Docker.Core.Di.Singletons.NewInstance(Type type, Int32 depth) 場所 C:\workspaces\PR-16070\src\github.com\docker\pinata\win\src\Docker.Core\di\Singletons.cs:行 83 System.Configuration.ConfigurationErrorsException: 構成システムを初期化できませんでした。 場所 System.Configuration.ConfigurationManager.PrepareConfigSystem() 場所 System.Configuration.ConfigurationManager.GetSection(String sectionName) 場所 System.Configuration.PrivilegedConfigurationManager.GetSection(String sectionName) 場所 System.Net.Configuration.SettingsSectionInternal.get_Section() 場所 System.Net.Http.HttpClientHandler..ctor() 場所 Docker.WPF.Nps.WootricService..ctor(IChannel channel, IVersion version) 場所 C:\workspaces\PR-16070\src\github.com\docker\pinata\win\src\Docker.WPF\Nps\WootricService.cs:行 29 System.Configuration.ConfigurationErrorsException: 構成ファイルの読み込み中にエラーが発生しました。: 'System.MarvinHash' のタイプ初期化子が例外をスローしました。 (C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Config\machine.config) 場所 System.Configuration.ConfigurationSchemaErrors.ThrowIfErrors(Boolean ignoreLocal) 場所 System.Configuration.BaseConfigurationRecord.ThrowIfParseErrors(ConfigurationSchemaErrors schemaErrors) 場所 System.Configuration.ClientConfigurationSystem.EnsureInit(String configKey) System.TypeInitializationException: 'System.MarvinHash' のタイプ初期化子が例外をスローしました。 場所 System.Xml.NameTable..ctor() 場所 System.Configuration.XmlUtil..ctor(Stream stream, String name, Boolean readToFirstElement, ConfigurationSchemaErrors schemaErrors) 場所 System.Configuration.BaseConfigurationRecord.InitConfigFromFile() System.ApplicationException: ファイル 'C:\Windows\Microsoft.NET\Framework64\v4.0.30319\config\machine.config' の要素 '</add>' の近くに無効な XML があります。 場所 System.ConfigTreeParser.Parse(String fileName, String configPath, Boolean skipSecurityStuff) 場所 System.Security.Cryptography.CryptoConfig.OpenCryptoConfig() 場所 System.Security.Cryptography.CryptoConfig.InitializeConfigInfo() 場所 System.Security.Cryptography.CryptoConfig.CreateFromName(String name, Object[] args) 場所 System.Security.Cryptography.RandomNumberGenerator.Create() 場所 System.MarvinHash.GenerateSeed() 場所 System.MarvinHash..cctor() System.Runtime.InteropServices.COMException: HRESULT からの例外:0xC00CE504 場所 System.BaseConfigHandler.RunParser(String fileName) 場所 System.ConfigTreeParser.Parse(String fileName, String configPath, Boolean skipSecurityStuff)

試したこと

「Unable to create an instance of Docker.App」で検索した結果から
・docker desktop・wsl2の再インストール、hyper-vの無効→有効
・以下のディレクトリ削除

  C:\Users[USER]\AppData\Local\Docker   C:\Users[USER]\AppData\Roaming\Docker

を試しましたが結果は同じでした。

補足情報(FW/ツールのバージョンなど)

Docker desktop for windows 3.5.2
Windows10 Pro 1904

気になる質問をクリップする

クリップした質問は、後からいつでもMYページで確認できます。

またクリップした質問に回答があった際、通知やメールを受け取ることができます。

バッドをするには、ログインかつ

こちらの条件を満たす必要があります。

guest

回答1

0

自己解決

すみません、自己解決しました。
以前visual studioインストールのため、machine.configにproxy設定を追記したのが悪さをしていました。ものとバージョンに戻した後に起動するようになりました。

投稿2021/09/19 02:02

milktei

総合スコア0

バッドをするには、ログインかつ

こちらの条件を満たす必要があります。

あなたの回答

tips

太字

斜体

打ち消し線

見出し

引用テキストの挿入

コードの挿入

リンクの挿入

リストの挿入

番号リストの挿入

表の挿入

水平線の挿入

プレビュー

15分調べてもわからないことは
teratailで質問しよう!

ただいまの回答率
85.46%

質問をまとめることで
思考を整理して素早く解決

テンプレート機能で
簡単に質問をまとめる

質問する

関連した質問