在Docker中基于Alpine的映像上安装Redis

I am trying to install Redis on the golang:1.10.1-alpine3.7 image. I tried RUN apk add --no-cache redis, but when I tried to run the redis-cli command, I get an exit status 127, which means the given command in not found. I would like to know how I would be able to run the redis-cli command.

查看全部
dongrao9436
dongrao9436
2018/04/28 05:01
  • redis
  • docker
  • 点赞
  • 收藏
  • 回答
    私信
满意答案
查看全部

1个回复