Troubleshooting Windows Errors

By | March 5, 2022

I’m trying to run Docker Process Type Isolation on Windows Server 2019 (Docker Desktop doesn’t work here, some virtual servers don’t support Hyper-V).
I ran this PowerShell in Les (all admin runtimes) in
docker -it --isolation=process mcr.microsoft.com/windows/servercore:ltsc2019 cmd.exe /c ping 127.0.0.1 -t

Docker: connection history error: In the default Windows daemon configuration, the Docker application must be run with elevated privileges in order to establish a connection. : Publication http://%2F%2F.%2Fpipe%2Fdocker_engine /v1.24/containers/create:open //./pipe/docker_engine: The system cannot find the specified house.
See ‘docker run –help’.

I started the handle C:\Program &Files\Docker\DockerCli.exe' -SwitchDaemon with the appropriate sentence: Docker won’t start on Windows

As expected, I tried to copy and re-run the complete DockerCli.exe from my local Docker Desktop installation on Windows 10 instead of En get:

Unhandled System Exception: .IO.cannot filenotfoundexception: load file or conference ‘Docker.Core, version=3.0.0.50646, culture=neutral or publickeytoken Null’, = one of its dependencies. The system may not be able to receive p to the specified file.
in Docker.Cli.MainBackendCli.Run (args IReadOnlyCollection`1)
in Docker.Cli.MainBackendCli.Args)

However, main(string[] does not seem to make sense to copy Docker files from the desktop.

I then ran powershell in dockerd since it’s just another executable:
folder

Because I’m new, I don’t know if the container is just started, and maybe in which one, I just understand start., but no, I don’t have any from where idea, it’s taken, or I can customize it.

As suggested by Wishart Peter, I tried remove-docker-package using just -name and then Get

uninstall-Package i: No items found for 'Docker'. Online: 1 Symbol: 1
+ -Name uninstall-Package ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 docker
++ ObjectNotFound: categoryinfo as (Microsoft.Power...ninstallPackage:UninstallPackage) [Uninstall-Package]
  , an exception
    + FullyQualifiedErrorId NoMatchFound, Microsoft:.PowerShell.PackageManagement.Cmdlets.UninstallPackage
PS C:\Users\Administrator> -Name uninstall-Package docker
uninstall-Package: No support package "docker" found.
Online: 1 Symbol: 1
+ Docker uninstaller package
+ -Phone ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
CategoryInfo: + Objectnotfound: (microsoft.Power...ninstallPackage:UninstallPackage) [remove package]
An exception
, + FullyQualifiedErrorId NoMatchFound, Microsoft:.PowerShell.PackageManagement.Cmdlets.UninstallPackage

Docker C:\Users\Administrator>

Using Ps: Docker [OPTIONS] COMMAND

Standalone Runtime Container

Option:
--config cycle Client configuration files associated with the site (default
"C:\\Users\\Administrator\\.docker")
-c, Archipelago --context Context name used to establish the connection
daemonboard.com (replaces DOCKER_HOST env var and
Don't pay for popup phrase "use docker situation")
-D, --debug Enable debug mode
-H, --host List of reasons why the socket daemon should connect
-l, --log-level archipelago Set logging level
("debug"|"info"|"warning"|"error"|"fatal")
(default "o")
--tls Use TLS; recommended --tlsverify
--tlscacert string Only trusted certificates signed by this CA (default
"C:\\Users\\Administrator\\.docker\\ca.pem")
--tlscert Collection of the path to the TLS certificate file (default
"C:\\Users\\Administrator\\.docker\\cert.pem")
--tlskey company Path to computer fileat the key (by default tls
"C:\\Users\\Administrator\\.docker\\key.pem")
--tls check TLS and use test remote access
--version -v, print version information is also closed

Administrative commands:
app* Docker Application (Docker Inc., v0.8.0)
Home builders manage buildings
Clusters* Container mirantis Cloud cluster management (Mirantis Inc., v1.9.0)
config Configuration management
manage docker slime containers
Framework context management
Picture Image Management
view Docker image manifests and manifest lists
Computer network Network management
node Swarm node management
Plugin ManagementPlugins
Registry* Docker registry management (Docker Inc., 0.1.0)
secret Manage Docker secrets
Service Management Services
Stack Manage Docker stacks
Roy Control Roy
Manage the Docker system
Trust, Manage, Think Docker Images
Quantity management

Orders:
local Attach standard input, result, and error streams to a running container.Build
Creates an image from a Dockerfile.
Dedicate Creates a new arbitrary image from fromcontainer changes
cp Copy files/folders between the container and most local filesystems.
create Create container for beginners
diff presence Checks for updates to files or directories in each container's file system.
events Receive periodic server real-time events
from Executive Executing a command in a large running container
export Exports your container's file system as an archive.
Background Show image history
thought list pictures
import Import values ​​from the archive to create each filesystem image
info Display system-wide information
inspect Returns low-level information about Docker objects.
kill Kills one or more running containers
Batch download an image from a tar or STDIN archive
Login Connect to Docker
registry logout Log out of any Docker registry
logs Gets container logs
quit Stops all processes in the specified container or multiple containers.
slot list