Containers with means for dispensing liquid medicaments in a filtered or sterile way