pack uses the profile derived from the container