If you are running on a Linux host on bare metal, Docker containers ARE bare metal - they use kernel primitives such as cgroups and namespaces, not hardware virtualisation.
Most things are running basically the same when using containers, but not everything. Take networking as an example: That's usually not working as it would on bare metal and usually result in a significant performance loss.