lionbatata / warsaw-bb-firefox-deb

debian stable slim com firefox e warsaw configurado para acesso ao BB
GNU General Public License v3.0
1 stars 2 forks source link

Executar em Ubuntu 20.04 #1

Open gutocabral opened 4 years ago

gutocabral commented 4 years ago

Estava tentando executar no Ubuntu 20.04 e retornava este erro:

docker no DISPLAY environment variable specified

Consegui executar adicionando o argumento --net=host, ficando assim no bash.rc:

alias bb="warsaw-bb-firefox-deb"

function warsaw-bb-firefox-deb {
      xhost +;
      docker run -it --rm \
      -v /tmp/.X11-unix:/tmp/.X11-unix \
      -v $HOME/Downloads:/home/bank/Downloads \
      -e DISPLAY=$DISPLAY \
      --shm-size 2g \
      --name warsaw-bb-firefox-deb \
      --net=host \
      lionbatata/warsaw-bb-firefox-deb;
      xhost -;
 }
lionbatata commented 4 years ago

Ok, obrigado.

Em qui., 18 de jun. de 2020 às 22:17, gutocabral notifications@github.com escreveu:

Estava tentando executar no Ubuntu 20.04 e retornava este erro:

docker no DISPLAY environment variable specified

Consegui executar adicionando o argumento --net=host, ficando assim no bash.rc:

alias bb="warsaw-bb-firefox-deb"

function warsaw-bb-firefox-deb { xhost +; docker run -it --rm \ -v /tmp/.X11-unix:/tmp/.X11-unix \ -v $HOME/Downloads:/home/bank/Downloads \ -e DISPLAY=$DISPLAY \ --shm-size 2g \ --name warsaw-bb-firefox-deb \ --net=host \ lionbatata/warsaw-bb-firefox-deb; xhost -; }

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/lionbatata/warsaw-bb-firefox-deb/issues/1, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABCYAE4UXU2FQE4GDJMGAGDRXK4DXANCNFSM4OCJJJUA .

-- Lion Batata Sempre a favor da comunidade.