Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Learning Windows Server Containers

You're reading from   Learning Windows Server Containers Build and deploy high-quality portable apps faster

Arrow left icon
Product type Paperback
Published in Apr 2017
Publisher Packt
ISBN-13 9781785887932
Length 404 pages
Edition 1st Edition
Languages
Arrow right icon
Author (1):
Arrow left icon
Srikanth Machiraju Srikanth Machiraju
Author Profile Icon Srikanth Machiraju
Srikanth Machiraju
Arrow right icon
View More author details
Toc

Table of Contents (13) Chapters Close

Preface 1. Exploring Virtualization FREE CHAPTER 2. Deploying First Container 3. Working with Container Images 4. Developing Container Applications 5. Deploying Container Applications 6. Storage Volumes 7. Redis Cache Containers 8. Container Network 9. Continuous Integration and Delivery 10. Manage Resource Allocation and REST API 11. Composite Containers and Clustering 12. Nano Server

Operating Redis Cache containers


With the previous example Redis Cache container is running on the host and ready to accept connections on port 6379 (from any PC). To connect to Redis Server from Windows (or Linux) we can use the Redis client command-line utility. Redis client can be installed on any Windows machine using the MSI installation available at https://github.com/MSOpenTech/redis/releases. The default install location on Windows is C:\Programfiles\Redis. The following steps should be used to connect to Redis Cache container from any Windows machine:

  1. Open a PowerShell or Windows command-line utility window.
  2. Navigate to C:\Programfiles\Redis.
  3. Run the following command by replacing the <IPAddressOrHostName> with the hostname or IP address of the container host which was used earlier to launch the container:
       \redis-cli.exe -h <IPAddressOrHostName> -p 6379
  1. The following image shows the Redis client connected to the remote Redis Server container running on Windows Server...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image