title: docker-compose: Unsupported config option for 'runtime'
body: <p>Recently, I have reinstalled my Ubuntu 20.04 and I am trying to run my <code>docker-compose.yml</code> using <code>docker-compose up --build</code>. And I am getting following error,</p>
  <pre><code>ERROR: The Compose file './docker-compose.yml' is invalid because:
  Unsupported config option for services.test: 'runtime'
  </code></pre>
  <p>And my <code>docker-compose.yml</code> is</p>
  <pre><code>version: '3'
                                                                                                         
  services:                                                                                              
    test:
      image: nvidia/cuda:11.0-base
      command: nvidia-smi
      runtime: nvidia 
  </code></pre>
  <p>In my previous Ubuntu 20.04 it was working fine, but after new docker installation I am getting this error. Additionally, I have also installed <a href="https://docs.nvidia.com/datacenter/cloud-native/contents.html" rel="nofollow noreferrer">Nvidia Container Toolkit</a>.</p>
  <p>Furthermore, the command <code>docker run --rm --runtime=nvidia nvidia/cuda:11.0-base nvidia-smi</code> is also working as expected.</p>
  <p>I appreciate any help to solve this problem.</p>
  <p>Thank you.</p>