add domain pattern container