Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- root $
- root $ docker images redis
- REPOSITORY TAG IMAGE ID CREATED SIZE
- redis alpine bd71e6db4a54 2 weeks ago 32.2MB
- redis latest 84c5f6e03bf0 2 weeks ago 104MB
- root $
- root $ docker run --name rd -d -p 99:99 redis:latest
- ac4b8b2b032b2c2911f03fd4f6af649f470620cd29eb566b821e5ce738d9ac11
- root $
- root $ docker exec -ti --user root rd bash
- root@ac4b8b2b032b:/data#
- root@ac4b8b2b032b:/data# redis-cli
- 127.0.0.1:6379>
- 127.0.0.1:6379> exit
- root@ac4b8b2b032b:/data#
- root@ac4b8b2b032b:/data# exit
- exit
- root $
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement