Include the container name explicitly at runtime, and move to CE (2.0) of Portainer.
See https://www.portainer.io/2020/08/portainer-ce-2-0-what-to-expect/ for specifics of Portainer changes, but relevant part: " ... we have been criticized for having closed source features as part of the open source project, and so by removing them Portainer CE reverts back to being 100% open source. "
Include the container name explicitly at runtime, and move to CE (2.0) of Portainer.
See https://www.portainer.io/2020/08/portainer-ce-2-0-what-to-expect/ for specifics of Portainer changes, but relevant part: " ... we have been criticized for having closed source features as part of the open source project, and so by removing them Portainer CE reverts back to being 100% open source. "