For the contained look you could simply set in Customizer > Layout > *ALL Elements to a contained Width eg. Container, Header, Footer, Top Bar.
Then add a top bar widget and set is background color to transparent to let the Body color to show through.
Adding borders to the site would require some CSS.
This CSS will add a border around the content area and keep it from contacting the edge of the viewport: