vi example2-dc.yml
Write the below code
version: '3'
services:
web:
image: nginx:1.19
container_name: test1
ports:
- 86:86
database:
image: redis:latest
container_name: my_db
ports:
- "5432:5432"
Prerequisites We assume anyone who wants to understand Kubernetes should have an understating of how the Docker works, how the Docker images...
No comments:
Post a Comment
Thank you for visiting my blog