Implement transactions for Docker backend