The call to `sudo` is not necessary here. The `core` user is able to run docker commands.