KeyError: ContainerConfig when building a container with Docker Compose

It looks like you are still using an outdated, python-based compose. Use the new Compose as described in the documentation

NOTE: I changed the topic title and formatted the post. This is an English community forum. Please, use English in your posts and topic titles, and also follow our formating guide to use coode blocks: How to format your forum posts