0% found this document useful (0 votes)
51 views1 page

CMD 1

Uploaded by

nepoznate
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
51 views1 page

CMD 1

Uploaded by

nepoznate
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 1

Microsoft Windows [Version 10.0.17134.

254]
(c) 2018 Microsoft Corporation. All rights reserved.

D:\Users\SPK1082>docker run --name redis-test -d redis redis-server --appendonly


yes

D:\Users\SPK1082>docker volume ls
DRIVER VOLUME NAME
local dotnet-6-docker
local redis-data

D:\Users\SPK1082>docker volume inspect redis-data


[
{
"CreatedAt": "2021-08-23T11:25:24Z",
"Driver": "local",
"Labels": null,
"Mountpoint": "/var/lib/docker/volumes/redis-data/_data",
"Name": "redis-data",
"Options": null,
"Scope": "local"
}
]

D:\Users\SPK1082>docker run --name redis-test -d redis redis-server -v /redis-


test:/bitnami/redis/data --appendonly yes
Unable to find image 'redis:latest' locally
latest: Pulling from library/redis
e1acddbe380c: Pull complete
a31098369fcc: Pull complete
4a49b0eba86d: Pull complete
fddf1399efac: Pull complete
5c6658b59b72: Pull complete
0b88638a5b77: Pull complete
Digest: sha256:66ce9bc742609650afc3de7009658473ed601db4e926a5b16d239303383bacad
Status: Downloaded newer image for redis:latest
9731b467fa7e448b1d777ecba38431c18fd7e7ba880a85f3d84d889bfc54b023

D:\Users\SPK1082>docker run --name redis-test -d redis --appendonly yes


docker: Error response from daemon: Conflict. The container name "/redis-test" is
already in use by container
"9731b467fa7e448b1d777ecba38431c18fd7e7ba880a85f3d84d889bfc54b023". You have to
remove (or rename) that container to be able to reuse that name.
See 'docker run --help'.

D:\Users\SPK1082>docker run --name redis-test-append -d redis --appendonly yes


c2ed523bc6fb5c6b037fd3dfb580a3f66d40923fc828ce9c3338bf9a45c0f0bc

D:\Users\SPK1082>docker pull postgrest/postgrest


Using default tag: latest
latest: Pulling from postgrest/postgrest
37e904bf2e71: Pull complete
Digest: sha256:4a9e69d24d731b1fa7ffe2691c7943dc1f91121e8d0e2d3e61319ab108f27f29
Status: Downloaded newer image for postgrest/postgrest:latest
docker.io/postgrest/postgrest:latest

You might also like