Sign inSign up

itsfarbod/fedit2

By itsfarbod

•Updated over 3 years ago

An implementation of fedit2 based on ubuntu 16.04.

Image
0

178

itsfarbod/fedit2 repository overview

⁠Running fedit2 container

⁠Pulling the image

docker pull itsfarbod/fedit2:latest

⁠Before running a container from this image, you have to configure your Xserver on your operating system.

⁠Configuring for Linux

For Linux you have to use xhost on your system.

Run this command to open Xserver for incoming requests.

xhost +

Now you can run a container.

⁠Configuring for macOS

First you have to download and install XQuartz on you mac

XQuartz Download Link⁠

Then run XQuartz app and navigate to Preferences>Security and make sure to enable Allow connections from from network clients.

After that you have to execute xhost + command in xterm terminal(XQuartz app).

Now you can run a container.

⁠Configuring for Windows

First you have to download and install VcXsrv Windows X Server on you Windows machine

VcXsrv Windows X Server Download Link⁠

Run Xlaunch from the start menu and perform the initial configuration.

Now you can run a container.

⁠Running a container

⁠Linux

docker run -it --network host -e DISPLAY=$(echo $DISPLAY) itsfarbod/fedit2:latest

You can also run your container in detach mode instead of interactive mode with the -d flag

docker run -d --network host -e DISPLAY=$(echo $DISPLAY) itsfarbod/fedit2:latest

⁠MacOS

docker run -it --network host -e DISPLAY=host.docker.internal:0 itsfarbod/fedit2:latest

You can also run your container in detach mode instead of interactive mode with the -d flag

docker run -d --network host -e DISPLAY=host.docker.internal:0 itsfarbod/fedit2:latest

⁠Windows

docker run -it --network host -e DISPLAY=host.docker.internal:0.0 itsfarbod/fedit2:latest

You can also run your container in detach mode instead of interactive mode with the -d flag

docker run -d --network host -e DISPLAY=host.docker.internal:0.0 itsfarbod/fedit2:latest

⁠Starting and Stoping the container

run docker container ls -a to see your containers. Now you can see your fedit2 containers with their IDs and names.

⁠Starting a container

docker container start <container name/ID>

⁠Stoping a container

docker container stop <container name/ID>

⁠Accessing a container's shell

docker exec -it <container name/ID> sh

⁠Removing a container

docker container rm -f <container name/ID>

Tag summary

Content type

Image

Digest

sha256:b7538f02a…

Size

571.9 MB

Last updated

over 3 years ago

docker pull itsfarbod/fedit2