Fix unix socket support and add CopyFromContainer