Container info within a container

Is there anyway a container can obtain info about itself (e.g. the swarm service name, docker image tag etc, ideally the entire swarm service spec) without needing to mount the docker socket? e.g. something in /proc?

It would be helpful for logging etc if this info was available. I haven’t managed to find anything about this, so I’m guessing probably not but thought I’d check on here in case anyone had any ideas!