Make Volume faster when using Docker with vscode.


Every time I clone a file with Docker and start it, it takes a long time to reopen in container. I wanted to do something about it, and when I was looking for it, I googled "Docker Mac Volume Slow" and found various things, so I solved it by referring to the article that appeared there.


$ gem install docker-sync

After that, create a docker-sync.yml file.

version: '2'

    sync_strategy: rsync
    notify_terminal: true
    sync_host_ip: 'auto'
    sync_host_port: 10872
    sync_excludes: [ '.git', '.idea', 'vendor', 'docker', '*.yml' ]
    sync_args: '-v'
    src: ./
    sync_userid: '33'

Now when I run the reopen container again with vscode, the speed has improved considerably.

Recommended Posts

Make Volume faster when using Docker with vscode.
How to make Laravel faster with Docker for Mac
Using PlantUml with Honkit [Docker]
Build PlantUML environment with VSCode + Docker
Make JupyterLab run anywhere with docker
Use cuda11.0 with pytorch using Docker
I tried using Scalar DL with Docker
Proxy server with squid using docker image
Introduced vscode with apt to docker: ubuntu
[docker] [nginx] Make a simple ALB with nginx
Image flew when updating Docker with WSL2
Using hidden type when PUT with Thymeleaf
GPU recognition with docker using WSL2 (August 2020)
Try using Kong + Konga with Docker Compose.
[Java] Make programs 10x faster with parallelStream
Be careful when using rails_semantic_logger with unicorn
Error when using Docker or other OS frequently with Vagrant Stderr: VBoxManage.exe: error: Failed
Make SpringBoot1.5 + Gradle4.4 + Java8 + Docker environment compatible with Java11
Build a Laravel / Docker environment with VSCode devcontainer
Kaggle environment construction using official Docker and vscode
Specify ClassPath when using jupyter + Java with WSL
Setting to exit from Docker container with VScode
Data management using volume in Docker (personal memorandum)
Try using another Servlet container Jetty with Docker
About the mechanism when displaying the GUI with Docker
Docker mount volume permission is managed with fixuid
docker volume checked
[Note] Configuration file when using Logback with Spring Boot
Whether to enable SSL when using JDBC with MySQL.
Error encountered with notes when deploying docker on rails
When I bcrypt with node + docker, I got an error
Debug the VSCode + Docker + PHP development environment with XDebug.
Create Chisel development environment with Windows10 + WSL2 + VScode + Docker