Krad Radio/Docker: Difference between revisions
(Created page with "Get docker and install it. Enable IP Forwarding: % sudo sysctl -w net.ipv4.ip_forward=1 Run the docker daemon: % sudo docker -d & Get the Krad Radio test image: % wget htt...") |
m (At least add a link ;)) |
||
| Line 1: | Line 1: | ||
Get docker and install it. | Get [http://www.docker.io/ docker] and install it. | ||
Enable IP Forwarding: | Enable IP Forwarding: | ||
% sudo sysctl -w net.ipv4.ip_forward=1 | % sudo sysctl -w net.ipv4.ip_forward=1 | ||
Latest revision as of 22:32, 7 December 2013
Get docker and install it. Enable IP Forwarding: % sudo sysctl -w net.ipv4.ip_forward=1
Run the docker daemon: % sudo docker -d &
Get the Krad Radio test image: % wget http://europa.kradradio.com:8040/oneman/kradtest_docker.tar.xz % sha1sum kradtest_docker.tar.xz fc51566462709736be196c0d40768a2f1d418f45 kradtest_docker.tar.xz
Import the image: % xzcat kradtest_docker.tar.xz | sudo docker import -
Get the image id from your import: % sudo docker images
You will see the id right in the middle!
Run the Krad Radio test image in a new container: % sudo docker run -d -name kradtest -p 4000:4000 -u oneman IMAGE_ID_GO_HERE /home/oneman/krad_start.sh
Goto: http://localhost:4000 in Firefox and see that it loaded
Now kill and remove the container: % sudo docker kill kradtest && sudo docker rm kradtest