Yes, it should work with Docker deployments as well.
Archiver is an internal workflow - https://github.com/temporalio/temporal/blob/master/service/worker/archiver/workflow.go
which should get triggered per workflow execution when the execution closes and its configured retention period is reached.