by Devin Yang
(This article was automatically translated.)

Published - 6 years ago ( Updated - 6 years ago )

We can use
docker volume ls
List all dossiers.
When using inspect on OSx to view, as a result, we can't find the Mountpoint directory when we get to the Mac?
docker volume inspect neip_www
[
    {
        "CreatedAt": "2018-05-12T15:30:17Z",
        "Driver": "local",
        "Labels": {
            "com.docker.stack.namespace": "neip"
        },
        "Mountpoint": "/var/lib/docker/volumes/neip_www/_data",
        "Name": "neip_www",
        "Options": null,
        "Scope": "local"
    }
]
This is because actually the directory is on the Docker for Mac VM.
We can connect to the VM through the screen command
screen ~/Library/Containers/com.docker.docker/Data/com.docker.driver.amd64-linux/tty
available through
Ctrl-a k to leave.
Ctrl-a d to background.
screen -r lists background ttys.
screen -r [number] reconnect


 

Tags: docker

Devin Yang

Feel free to ask me, if you don't get it.:)

No Comment

Post your comment

Login is required to leave comments

Similar Stories


docker, d-laravel, docker-compose, laravel

docker-compose loads multiple configuration files

We will use docker --network to establish multiple container interconnections, but if there are four containers, Is it necessary to issue docker run instructions for different containers four times, kill me, This article introduces the establishment of multiple containers at one time through the yaml file definition of docker-compose. Learn how to load multiple configuration files with the dokcer-compose -f parameter.  

docker

Update docker-compose version with bash

Install the latest version of docker-compose

laravel,docker

How to customize Laravel pagination

Recently, I have been free, and I want to adjust the arrows on the upper and lower pages of the website. If you don’t know how to customize Laravel’s pagination, You can take a look at a short three-minute introduction on how I customize Laravel's pagination.