Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wokspace ls: cannot open directory '.': Function not implemented #2659

Closed
spacedog4 opened this issue Jul 18, 2020 · 6 comments
Closed

Wokspace ls: cannot open directory '.': Function not implemented #2659

spacedog4 opened this issue Jul 18, 2020 · 6 comments

Comments

@spacedog4
Copy link

Description:

When I enter the container with winpty docker-comose exec workspace bash an try to run ls on /var/www i got this error
ls: cannot open directory '.': Function not implemented

Expected Behavior:

It should list all the folders

Context information:

I was trying to debug why my site is not opening

Output of docker-compose ps

           Name                          Command                State                                                                        Ports                                              
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
laradock_docker-in-docker_1   dockerd-entrypoint.sh            Up         2375/tcp, 2376/tcp                                                                                                    
laradock_laravel-horizon_1    /usr/bin/supervisord -n -c ...   Exit 255                                                                                                                         
laradock_mysql_1              docker-entrypoint.sh mysqld      Up         0.0.0.0:3307->3306/tcp, 33060/tcp                                                                                     
laradock_nginx_1              /docker-entrypoint.sh /bin ...   Up         0.0.0.0:443->443/tcp, 0.0.0.0:80->80/tcp, 0.0.0.0:81->81/tcp                                                          
laradock_php-fpm_1            docker-php-entrypoint php-fpm    Up         2376/tcp, 9000/tcp                                                                                                    
laradock_redis-webui_1        tini -- php -S 0.0.0.0:80        Exit 255   0.0.0.0:9987->80/tcp                                                                                                  
laradock_redis_1              docker-entrypoint.sh redis ...   Exit 255   0.0.0.0:6379->6379/tcp                                                                                                
laradock_workspace_1          /sbin/my_init                    Up         0.0.0.0:2222->22/tcp, 0.0.0.0:3000->3000/tcp, 0.0.0.0:3001->3001/tcp, 0.0.0.0:4200->4200/tcp, 0.0.0.0:8001->8000/tcp, 0.0.0.0:8080->8080/tcp

Output of git rev-parse HEAD

a1cda7f4977899df297302f1f31524c69a25c252

Output of docker version

Client: Docker Engine - Community
 Version:           19.03.8
 API version:       1.40
 Go version:        go1.12.17
 Git commit:        afacb8b
 Built:             Wed Mar 11 01:23:10 2020
 OS/Arch:           windows/amd64
 Experimental:      false

Server: Docker Engine - Community
 Engine:
  Version:          19.03.8
  API version:      1.40 (minimum version 1.12)
  Go version:       go1.12.17
  Git commit:       afacb8b
  Built:            Wed Mar 11 01:29:16 2020
  OS/Arch:          linux/amd64
  Experimental:     false
 containerd:
  Version:          v1.2.13
  GitCommit:        7ad184331fa3e55e52b890ea95e65ba581ae3429
 runc:
  Version:          1.0.0-rc10
  GitCommit:        dc9208a3303feef5b3839f4323d9beb36df0a9dd
 docker-init:
  Version:          0.18.0
  GitCommit:        fec3683

Output of docker-compose version

docker-compose version 1.25.4, build 8d51620a
docker-py version: 4.1.0
CPython version: 3.7.4
OpenSSL version: OpenSSL 1.1.1c  28 May 2019

System info: Mac, Windows or Linux. Include which disto/version

Windows 10 Pro

Steps to reproduce the issue:

I don't know

@bestlong
Copy link
Member

why need winpty ?

@spacedog4
Copy link
Author

@bestlong i use git bash for windows, it requires

@stale
Copy link

stale bot commented Oct 16, 2020

Hi 👋 this issue has been automatically marked as stale 📌 because it has not had recent activity 😴. It will be closed if no further activity occurs. Thank you for your contributions ❤️.

@stale stale bot added the Stale label Oct 16, 2020
@wanfuse123
Copy link

I have the same issue. ls -al under ubuntu18.04 under wsl2 gives 'Function not implemented' on ext4 drives that have been formated in linux. It seems to be a Microsoft WSL2 problem

@stale stale bot removed the Stale label Oct 22, 2020
@stale
Copy link

stale bot commented Jan 20, 2021

Hi 👋 this issue has been automatically marked as stale 📌 because it has not had recent activity 😴. It will be closed if no further activity occurs. Thank you for your contributions ❤️.

@stale stale bot added the Stale label Jan 20, 2021
@stale
Copy link

stale bot commented Feb 10, 2021

Hi again 👋 we would like to inform you that this issue has been automatically closed 🔒 because it had not recent activity during the stale period. We really really appreciate your contributions, and looking forward for more in the future 🎈.

@stale stale bot closed this as completed Feb 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants