profile
viewpoint

issue commentdocker/for-win

Docker messed up hosts

@OskarKlintrot I did a PR to force encoding when we read the file but the C# code was already quite straightforward:

  • loading hosts file with File.ReadAllLines(filepath)
  • checking/adding entries in the array
  • then saving using File.WriteAllLines(newArray, filepath) Can you attach your hosts file so I can see what are the bytes on that first corrupted line?
OskarKlintrot

comment created time in 14 hours

PR opened moby/vpnkit

Remove `is being closed.` logs in proxystream

They happen every time the client named pipe do a close and it don't hide any errors

(it's quite similar to is not connected filtering)

+5 -1

0 comment

1 changed file

pr created time in 5 days

create barnchebriney/vpnkit

branch : libmux_no_being_closed_logs

created branch time in 5 days

issue commentdocker/for-win

support wcow and lcow with wsl2 backend

Hi @kamkie , you can still do it but you need to switch to windows containers to start windows daemon or switch to linux containers in windows one in launch at startup. Only the last daemon is relaunched when you start the application. And there is only context so you need to switch every time you want to redirect cli to the appropriate engine.

kamkie

comment created time in 8 days

issue commentdocker/for-win

Timed-out waiting for the lifecycle-server to start

Hi @rasego68, what did you do to fix it?

rasego68

comment created time in 8 days

issue commentdocker/for-win

LCOW: Invalid Platform OS "linux"

From 19.03: https://github.com/moby/moby/pull/39108 So if you need LCOW on RS3 we must use older versions (18.09 and older).

necroTaxonomist

comment created time in 2 months

issue openeddocker/compose

[Windows] docker-compose pull failed on non-english version

<!-- Welcome to the docker-compose issue tracker! Before creating an issue, please heed the following:

  1. This tracker should only be used to report bugs and request features / enhancements to docker-compose
    • For questions and general support, use https://forums.docker.com
    • For documentation issues, use https://github.com/docker/docker.github.io
    • For issues with the docker stack commands and the version 3 of the Compose file, use https://github.com/docker/cli
  2. Use the search function before creating a new issue. Duplicates will be closed and directed to the original discussion.
  3. When making a bug report, make sure you provide all required information. The easier it is for maintainers to reproduce, the faster it'll be fixed. -->

Description of the issue

Docker Desktop CI has a french slave and we have a test failing when compose grabs the credentials with wincred helper (I suppose because the error message is localized).

Context information (for bug reports)

Output of docker-compose version

docker-compose version 1.24.1, build 4667896b
docker-py version: 3.7.3
CPython version: 3.6.8
OpenSSL version: OpenSSL 1.1.0j  20 Nov 2018

Output of docker version

Client: Docker Engine - Community
 Version:           19.03.1
 API version:       1.40
 Go version:        go1.12.5
 Git commit:        74b1e89
 Built:             Thu Jul 25 21:18:17 2019
 OS/Arch:           darwin/amd64
 Experimental:      true

Server: Docker Engine - Community
 Engine:
  Version:          19.03.1
  API version:      1.40 (minimum version 1.12)
  Go version:       go1.12.5
  Git commit:       74b1e89
  Built:            Thu Jul 25 21:17:52 2019
  OS/Arch:          linux/amd64
  Experimental:     true
 containerd:
  Version:          v1.2.6
  GitCommit:        894b81a4b802e4eb2a91d1ce216b8817763c29fb
 runc:
  Version:          1.0.0-rc8
  GitCommit:        425e105d5a03fabd737a126ad93d62a9eeede87f
 docker-init:
  Version:          0.18.0
  GitCommit:        fec3683

Output of docker-compose config (Make sure to add the relevant -f and other flags)

services:
  myimage:
    build:
      context: C:\myfolder\myimage
    volumes:
    - C:\myfolder:/work:rw
  web0:
    image: dockerpinata/httpd:1.0
    ports:
    - 8080/tcp
  web1:
    image: dockerpinata/httpd:1.0
    ports:
    - 8080/tcp
version: '2.0'

Steps to reproduce the issue

  1. On win10 non-english machine (tested with french system)
  2. Use a private image in your compose file
  3. Do a docker-compose pull

Observed result

exit -1

Expected result

it pulls the images without error using credentials in credential manager

Stacktrace / full error message

   error running [C:\Program Files\Docker\Docker\resources\bin\docker-compose.exe pull]:
    Command stdout:
    
    stderr:
    Pulling web0    ... 

    Pulling web1    ... 

    Pulling myimage ... 

    
Pulling myimage ... done
[6488] Failed to execute script docker-compose
    
    ERROR: for web1  Credentials store error: StoreError('Credentials store docker-credential-desktop exited with "error getting credentials - err: exit status 1, out: `�l�ment introuvable.`".',)
    
    ERROR: for web0  Credentials store error: StoreError('Credentials store docker-credential-desktop exited with "error getting credentials - err: exit status 1, out: `�l�ment introuvable.`".',)
    Traceback (most recent call last):
      File "site-packages\dockerpycreds\store.py", line 80, in _execute
      File "subprocess.py", line 356, in check_output
      File "subprocess.py", line 438, in run
    subprocess.CalledProcessError: Command '['C:\\Program Files\\Docker\\Docker\\resources\\bin\\docker-credential-desktop.EXE', 'get']' returned non-zero exit status 1.
    
    During handling of the above exception, another exception occurred:
    
    Traceback (most recent call last):
      File "site-packages\docker\auth.py", line 264, in _resolve_authconfig_credstore
      File "site-packages\dockerpycreds\store.py", line 35, in get
      File "site-packages\dockerpycreds\store.py", line 93, in _execute
    dockerpycreds.errors.StoreError: Credentials store docker-credential-desktop exited with "error getting credentials - err: exit status 1, out: `�l�ment introuvable.`".
    
    During handling of the above exception, another exception occurred:
    
    Traceback (most recent call last):
      File "docker-compose", line 6, in <module>
      File "compose\cli\main.py", line 71, in main
      File "compose\cli\main.py", line 127, in perform_command
      File "compose\cli\main.py", line 762, in pull
      File "compose\project.py", line 634, in pull
      File "compose\parallel.py", line 112, in parallel_execute
      File "compose\parallel.py", line 210, in producer
      File "compose\project.py", line 615, in pull_service
      File "compose\service.py", line 1187, in _do_pull
      File "site-packages\docker\api\image.py", line 381, in pull
      File "site-packages\docker\auth.py", line 48, in get_config_header
      File "site-packages\docker\auth.py", line 322, in resolve_authconfig
      File "site-packages\docker\auth.py", line 235, in resolve_authconfig
      File "site-packages\docker\auth.py", line 281, in _resolve_authconfig_credstore
    docker.errors.DockerException: Credentials store error: StoreError('Credentials store docker-credential-desktop exited with "error getting credentials - err: exit status 1, out: `�l�ment introuvable.`".',)
    
    error:
    exit status 4294967295

Additional information

OS version / distribution, docker-compose install method, etc.

Installed with Docker Desktop community installer for Windows on 17.09 os

created time in 3 months

more