![]() $ docker exec -it b05bd722477e apt update & apt install -y xclockĪfter this, you should see xclock displayed in your screen. ![]() ![]() To remove the container run: docker rm b05bd722477e To kill the container run: docker kill b05bd722477e To get a container terminal run: docker exec -it b05bd722477e /bin/bash To run a container with X11 support: $ python3 -m n -image ubuntu -command 'sleep infinity' You can install it running: python3 -m pip install dockerx -user ![]() The Python module dockerx is intended to solve this problem.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |