$ docker build -t yade -f Dockerfile
$ docker run --network host -d --rm -p 8000:8000 yade
$ curl localhost:8000Explanation:
--network hostallows Docker to use network-based functions, in host mode.-druns Docker as daemon (running at the background)--rmremoves the container if exited-p 8000:8000port-forwarding forcontainer:8000tohost:8000
This should output something like this:
juanjo@debian:~/Docker$ curl localhost:8000
Hello world!