Hi. I am new to docker. In VScode i have created a yml file, but it appears red. And when i run it i get this error:
Learn more at docker debug | Docker Docs
Error response from daemon: container 6542d5b02eb6e1eb3b47d56504acf61acf9690e01b8112a3414b0a8cdf63a91a is not running
This is the code: #version: ‘3’ #version is obsolete" service “redis”
services:
redis:
image: redis:latest
container_name: 2024_2_cloud_redis_container
ports:
- “6379:6379”
volumes:
- redis-data:/data #restart: always
@ittechoguz Please, format your post according to the following guide: How to format your forum posts
In short: please, use </> button to share codes, terminal outputs, error messages or anything that can contain special characters which would be interpreted by the MarkDown filter. Use the preview feature to make sure your text is formatted as you would expect it and check your post after you have sent it so you can still fix it.
Example code block:
```
services:
service1:
image: image1
```
After fixing your post, please send a new comment so people are notified about the fixed content.