Create a function to build a container