Rewrite deploy to use container - although currently not doing so.