[vagrant@localhost ~]$ docker pull redis                                                                                                                                              
Using default tag: latest                                                                                                                                                             
latest: Pulling from library/redis                                                                                                                                                    
                                                                                                                                                                                      
8ad8b3f87b37: Pull complete                                                                                                                                                           
b78c9991783c: Pull complete                                                                                                                                                           
e72c3506a8a4: Pull complete                                                                                                                                                           
b81ca5ba0905: Pull complete                                                                                                                                                           
6e3a1ac2202b: Pull complete                                                                                                                                                           
3ee732c42e18: Pull complete                                                                                                                                                           
04f2c0e63896: Pull complete                                                                                                                                                           
Digest: sha256:669bce2c53f66d76240b1304b3db7905004638d3c477ab70008904606e6a680d                                                                                                       
Status: Downloaded newer image for redis:latest                                                                                                                                       
[vagrant@localhost ~]$ docker images                                                                                                                                                  
REPOSITORY                TAG                 IMAGE ID            CREATED             SIZE                                                                                            
redis                     latest              0d1cbfaa41da        2 weeks ago         185 MB                                                                                          
windperson/docker-whale   latest              c78011744400        9 months ago        255.4 MB                                                                                        
[vagrant@localhost ~]$ docker run --name myRadis -d redis                                                                                                                             
93371e0ab457835d17e303d33d29b21614c540f540bda11affe4aa01dc52c110                                                                                                                      
[vagrant@localhost ~]$ docker ps                                                                                                                                                      
CONTAINER ID        IMAGE               COMMAND                  CREATED             STATUS              PORTS               NAMES                                                    
93371e0ab457        redis               "docker-entrypoint.sh"   4 seconds ago       Up 3 seconds        6379/tcp            myRadis                                                  
[vagrant@localhost ~]$ docker logs myRadis                                                                                                                                            
1:C 19 Sep 12:42:22.195 # Warning: no config file specified, using the default config. In order to specify a config file use redis-server /path/to/redis.conf                         
                _._                                                                                                                                                                   
           _.-``__ ''-._                                                                                                                                                              
      _.-``    `.  `_.  ''-._           Redis 3.2.3 (00000000/0) 64 bit                                                                                                               
  .-`` .-```.  ```\/    _.,_ ''-._                                                                                                                                                    
 (    '      ,       .-`  | `,    )     Running in standalone mode                                                                                                                    
 |`-._`-...-` __...-.``-._|'` _.-'|     Port: 6379                                                                                                                                    
 |    `-._   `._    /     _.-'    |     PID: 1                                                                                                                                        
  `-._    `-._  `-./  _.-'    _.-'                                                                                                                                                    
 |`-._`-._    `-.__.-'    _.-'_.-'|                                                                                                                                                   
 |    `-._`-._        _.-'_.-'    |           http://redis.io                                                                                                                         
  `-._    `-._`-.__.-'_.-'    _.-'                                                                                                                                                    
 |`-._`-._    `-.__.-'    _.-'_.-'|                                                                                                                                                   
 |    `-._`-._        _.-'_.-'    |                                                                                                                                                   
  `-._    `-._`-.__.-'_.-'    _.-'                                                                                                                                                    
      `-._    `-.__.-'    _.-'                                                                                                                                                        
          `-._        _.-'                                                                                                                                                            
              `-.__.-'                                                                                                                                                                
                                                                                                                                                                                      
1:M 19 Sep 12:42:22.296 # WARNING: The TCP backlog setting of 511 cannot be enforced because /proc/sys/net/core/somaxconn is set to the lower value of 128.                           
1:M 19 Sep 12:42:22.296 # Server started, Redis version 3.2.3                                                                                                                         
1:M 19 Sep 12:42:22.296 # WARNING overcommit_memory is set to 0! Background save may fail under low memory condition. To fix this issue add 'vm.overcommit_memory = 1' to /etc/sysctl.
conf and then reboot or run the command 'sysctl vm.overcommit_memory=1' for this to take effect.                                                                                      
1:M 19 Sep 12:42:22.296 * The server is now ready to accept connections on port 6379                                                                                                  
[vagrant@localhost ~]$ sudo sysctl vm.overcommit_memory=1                                                                                                                             
vm.overcommit_memory = 1                                                                                                                                                              
[vagrant@localhost ~]$ docker stop myRadis                                                                                                                                            
myRadis                                                                                                                                                                               
[vagrant@localhost ~]$ docker start myRadis                                                                                                                                           
myRadis                                                                                                                                                                               
[vagrant@localhost ~]$ docker logs myRadis                                                                                                                                            
1:C 19 Sep 12:42:22.195 # Warning: no config file specified, using the default config. In order to specify a config file use redis-server /path/to/redis.conf                         
                _._                                                                                                                                                                   
           _.-``__ ''-._                                                                                                                                                              
      _.-``    `.  `_.  ''-._           Redis 3.2.3 (00000000/0) 64 bit                                                                                                               
  .-`` .-```.  ```\/    _.,_ ''-._                                                                                                                                                    
 (    '      ,       .-`  | `,    )     Running in standalone mode                                                                                                                    
 |`-._`-...-` __...-.``-._|'` _.-'|     Port: 6379                                                                                                                                    
 |    `-._   `._    /     _.-'    |     PID: 1                                                                                                                                        
  `-._    `-._  `-./  _.-'    _.-'                                                                                                                                                    
 |`-._`-._    `-.__.-'    _.-'_.-'|                                                                                                                                                   
 |    `-._`-._        _.-'_.-'    |           http://redis.io                                                                                                                         
  `-._    `-._`-.__.-'_.-'    _.-'                                                                                                                                                    
 |`-._`-._    `-.__.-'    _.-'_.-'|                                                                                                                                                   
 |    `-._`-._        _.-'_.-'    |                                                                                                                                                   
  `-._    `-._`-.__.-'_.-'    _.-'                                                                                                                                                    
      `-._    `-.__.-'    _.-'                                                                                                                                                        
          `-._        _.-'                                                                                                                                                            
              `-.__.-'                                                                                                                                                                
                                                                                                                                                                                      
1:M 19 Sep 12:42:22.296 # WARNING: The TCP backlog setting of 511 cannot be enforced because /proc/sys/net/core/somaxconn is set to the lower value of 128.                           
1:M 19 Sep 12:42:22.296 # Server started, Redis version 3.2.3                                                                                                                         
1:M 19 Sep 12:42:22.296 # WARNING overcommit_memory is set to 0! Background save may fail under low memory condition. To fix this issue add 'vm.overcommit_memory = 1' to /etc/sysctl.
conf and then reboot or run the command 'sysctl vm.overcommit_memory=1' for this to take effect.                                                                                      
1:M 19 Sep 12:42:22.296 * The server is now ready to accept connections on port 6379                                                                                                  
1:signal-handler (1474289086) Received SIGTERM scheduling shutdown...                                                                                                                 
1:M 19 Sep 12:44:46.652 # User requested shutdown...                                                                                                                                  
1:M 19 Sep 12:44:46.652 * Saving the final RDB snapshot before exiting.                                                                                                               
1:M 19 Sep 12:44:46.659 * DB saved on disk                                                                                                                                            
1:M 19 Sep 12:44:46.660 # Redis is now ready to exit, bye bye...                                                                                                                      
1:C 19 Sep 12:44:54.592 # Warning: no config file specified, using the default config. In order to specify a config file use redis-server /path/to/redis.conf                         
                _._                                                                                                                                                                   
           _.-``__ ''-._                                                                                                                                                              
      _.-``    `.  `_.  ''-._           Redis 3.2.3 (00000000/0) 64 bit                                                                                                               
  .-`` .-```.  ```\/    _.,_ ''-._                                                                                                                                                    
 (    '      ,       .-`  | `,    )     Running in standalone mode                                                                                                                    
 |`-._`-...-` __...-.``-._|'` _.-'|     Port: 6379                                                                                                                                    
 |    `-._   `._    /     _.-'    |     PID: 1                                                                                                                                        
  `-._    `-._  `-./  _.-'    _.-'                                                                                                                                                    
 |`-._`-._    `-.__.-'    _.-'_.-'|                                                                                                                                                   
 |    `-._`-._        _.-'_.-'    |           http://redis.io                                                                                                                         
  `-._    `-._`-.__.-'_.-'    _.-'                                                                                                                                                    
 |`-._`-._    `-.__.-'    _.-'_.-'|                                                                                                                                                   
 |    `-._`-._        _.-'_.-'    |                                                                                                                                                   
  `-._    `-._`-.__.-'_.-'    _.-'                                                                                                                                                    
      `-._    `-.__.-'    _.-'                                                                                                                                                        
          `-._        _.-'                                                                                                                                                            
              `-.__.-'                                                                                                                                                                
                                                                                                                                                                                      
1:M 19 Sep 12:44:54.595 # WARNING: The TCP backlog setting of 511 cannot be enforced because /proc/sys/net/core/somaxconn is set to the lower value of 128.                           
1:M 19 Sep 12:44:54.596 # Server started, Redis version 3.2.3                                                                                                                         
1:M 19 Sep 12:44:54.596 * DB loaded from disk: 0.000 seconds                                                                                                                          
1:M 19 Sep 12:44:54.596 * The server is now ready to accept connections on port 6379                                                                                                  
[vagrant@localhost ~]$