You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 2, 2024. It is now read-only.
Verify the named container's process status and health.
32
32
33
33
```
34
34
$ docker ps -a \
35
-
-f "name=redis.1"
35
+
-f "name=redis.1"
36
36
```
37
37
38
38
Verify successful initialisation of the named container.
@@ -63,7 +63,7 @@ In the following example the redis-server service is bound to port 6379 of the d
63
63
64
64
```
65
65
$ docker stop redis.1 && \
66
-
docker rm redis.1 && \
66
+
docker rm redis.1; \
67
67
docker run \
68
68
--detach \
69
69
--name redis.1 \
@@ -76,10 +76,10 @@ $ docker stop redis.1 && \
76
76
--env "REDIS_MAXMEMORY_SAMPLES=10" \
77
77
--env "REDIS_OPTIONS=--loglevel verbose" \
78
78
--env "REDIS_TCP_BACKLOG=2048" \
79
-
jdeathe/centos-ssh-redis:4.1.0
79
+
jdeathe/centos-ssh-redis:4.1.1
80
80
```
81
81
82
-
#### Environment Variables
82
+
#### Environment variables
83
83
84
84
Environment variables are available, as detailed below, to allow the operator to configure a container on run. Environment variable values cannot be changed after running the container; it's a one-shot type setting. If you need to change a value you have to terminate, (i.e stop and remove), and replace the running container.
0 commit comments