This needs to go in the HostConfig and not in the Config.  The Config is comited and pushed as an image.