docker build -t grammarly .
docker run -it --net=host \
--env="DISPLAY" \
--volume="$HOME/.Xauthority:/root/.Xauthority:rw" \
--ipc host \
--name grammarly \
grammarly
Use docker logs to access the login link and manually authenticate it.
docker start grammarly