Volume shader looks solid from outside
In your example you have connected a shader to both the Surface and the Volume sockets of the Material Output. This gives the mesh both a volume and a surface. For purely volumetric objects you should not have a shader attached to 'Surface'.