Created
April 4, 2021 13:54
-
-
Save stephaneerard/a0de800d2c1d0bc01f62f22d5987ffc1 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| PS C:\code\frenchex2\cli.ts_i1\tmp> ssh-add .\.vagrant\machines\vdi-00-control-00\virtualbox\private_key | |
| Identity added: .\.vagrant\machines\vdi-00-control-00\virtualbox\private_key (.\.vagrant\machines\vdi-00-control-00\virtualbox\private_key) | |
| PS C:\code\frenchex2\cli.ts_i1\tmp> C:\Users\steph\Downloads\docker-compose-Windows-x86_64.exe ps | |
| Traceback (most recent call last): | |
| File "urllib3\connectionpool.py", line 670, in urlopen | |
| File "urllib3\connectionpool.py", line 426, in _make_request | |
| File "<string>", line 3, in raise_from | |
| File "urllib3\connectionpool.py", line 421, in _make_request | |
| File "http\client.py", line 1349, in getresponse | |
| File "http\client.py", line 935, in close | |
| File "docker\transport\sshconn.py", line 102, in close | |
| OSError: [Errno 22] Invalid argument | |
| During handling of the above exception, another exception occurred: | |
| Traceback (most recent call last): | |
| File "requests\adapters.py", line 439, in send | |
| File "urllib3\connectionpool.py", line 726, in urlopen | |
| File "urllib3\util\retry.py", line 410, in increment | |
| File "urllib3\packages\six.py", line 734, in reraise | |
| File "urllib3\connectionpool.py", line 670, in urlopen | |
| File "urllib3\connectionpool.py", line 426, in _make_request | |
| File "<string>", line 3, in raise_from | |
| File "urllib3\connectionpool.py", line 421, in _make_request | |
| File "http\client.py", line 1349, in getresponse | |
| File "http\client.py", line 935, in close | |
| File "docker\transport\sshconn.py", line 102, in close | |
| urllib3.exceptions.ProtocolError: ('Connection aborted.', OSError(22, 'Invalid argument')) | |
| During handling of the above exception, another exception occurred: | |
| Traceback (most recent call last): | |
| File "docker\api\client.py", line 214, in _retrieve_server_version | |
| File "docker\api\daemon.py", line 181, in version | |
| File "docker\utils\decorators.py", line 46, in inner | |
| File "docker\api\client.py", line 237, in _get | |
| File "requests\sessions.py", line 543, in get | |
| File "requests\sessions.py", line 530, in request | |
| File "requests\sessions.py", line 643, in send | |
| File "requests\adapters.py", line 498, in send | |
| requests.exceptions.ConnectionError: ('Connection aborted.', OSError(22, 'Invalid argument')) | |
| During handling of the above exception, another exception occurred: | |
| Traceback (most recent call last): | |
| File "docker-compose", line 3, in <module> | |
| File "compose\cli\main.py", line 81, in main | |
| File "compose\cli\main.py", line 198, in perform_command | |
| File "compose\cli\command.py", line 60, in project_from_options | |
| File "compose\cli\command.py", line 152, in get_project | |
| File "compose\cli\docker_client.py", line 41, in get_client | |
| File "compose\cli\docker_client.py", line 170, in docker_client | |
| File "docker\api\client.py", line 197, in __init__ | |
| File "docker\api\client.py", line 221, in _retrieve_server_version | |
| docker.errors.DockerException: Error while fetching server API version: ('Connection aborted.', OSError(22, 'Invalid argument')) | |
| [7540] Failed to execute script docker-compose | |
| PS C:\code\frenchex2\cli.ts_i1\tmp> docker ps | |
| CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES | |
| PS C:\code\frenchex2\cli.ts_i1\tmp> docker ps -a | |
| CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES | |
| 57efae8577bc hello-world "/hello" 28 minutes ago Exited (0) 28 minutes ago hardcore_lewin | |
| PS C:\code\frenchex2\cli.ts_i1\tmp> docker run hello-world | |
| Hello from Docker! | |
| This message shows that your installation appears to be working correctly. | |
| To generate this message, Docker took the following steps: | |
| 1. The Docker client contacted the Docker daemon. | |
| 2. The Docker daemon pulled the "hello-world" image from the Docker Hub. | |
| (amd64) | |
| 3. The Docker daemon created a new container from that image which runs the | |
| executable that produces the output you are currently reading. | |
| 4. The Docker daemon streamed that output to the Docker client, which sent it | |
| to your terminal. | |
| To try something more ambitious, you can run an Ubuntu container with: | |
| $ docker run -it ubuntu bash | |
| Share images, automate workflows, and more with a free Docker ID: | |
| https://hub.docker.com/ | |
| For more examples and ideas, visit: | |
| https://docs.docker.com/get-started/ | |
| PS C:\code\frenchex2\cli.ts_i1\tmp> | |
stephaneerard
commented
Apr 4, 2021
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment