Reputation: 11374
I have a docker-compose configuration for which I'll like to know how much memory was used for a specific run, is there a way to do it?
Upvotes: 0
Views: 259
Reputation: 246
I have created a test container using below commands:
I created a new directory and created a file docker-compose.yml in it. When I will run docker-compose up from this directory, it will look for this specific file and create our deployment accordingly. Add the following contents inside this docker-compose.yml file.
The -d flag is added so that to run the container in background Now we can see the stats of the newly created container:
Upvotes: 2