Docker for Windows: Installing Redis

Source: Internet
Author: User
Tags docker run

First, create and run the container

Docker run-d-it--name Redis d4f259423416
PS c:\users\k-jso> Docker Images-arepository TAG IMAGE ID CREATED sizedocker4w/nsenter-dockerd Latest Cae870735e914months ago 187KBHUB.C.163. com/library/php7.16cd3037a948f6months ago 371MBHUB.C.163. Com/library/oraclelinux Latest 9fe41720f9397months ago 229MBHUB.C.163. Com/library/redis4.0.1d4f2594234168months ago 106MBHUB.C.163. Com/library/nginx Latest 46102226F2FD Onemonths ago 109MBHUB.C.163. com/library/mysql5.60977f3a915e5 Onemonths ago 298MBPS C:\Users\K-jso> Docker run-d-it--name Redis d4f259423416

Second, enter the container

Docker exec-it e9cf9f36b1f737d999153d1b0e98f3084d5f63e12e0f92f13b7c79242cc95420/bin/sh# redis-CLI  127.0. 0.1:6379>

Docker for Windows: Installing Redis

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.