Open picatz opened 6 years ago
There's some good work/examples outlined in https://github.com/picatz/goldengirl/issues/20
Hey guys i whipped up a getting started video if anybodys interested, i also have links in the description to various parts of the video so you don't have to watch the whole thing if you don't need to/want to
https://www.youtube.com/watch?v=89AyJNbV0CY&feature=youtu.be
To watch this video, you must logged into youtube with your emich.edu
Youtube is fighting me on adding comments to a private video so all corrections will be listed here (or below if you find any):
~2. The mysql and psql commands need to be downloaded to test those containers. Whoops.~
~yum install mysql -y
~
~yum install postgresql -y
~
Note: This video is outdated and uses an older version of goldengirl so experience may vary.
git ELI5: http://rogerdudler.github.io/git-guide/
cd ~/dockerfiles/dns
go get github.com/miekg/dns
go build dns.go
sudo docker build -t dns .
sudo docker run -itd -p 53:5353/udp dns
dig @localhost test.service
sudo docker ps -a
sudo docker logs
$CONTAINERIDcd ~/dockerfiles/elasticsearch
sudo docker build -t elasticsearch .
sudo docker run -itd -p 9200:9200 elasticsearch
curl http://localhost:9200
sudo docker ps -a
sudo docker logs
$CONTAINERIDcd ~/dockerfiles/ftp
sudo docker build -t ftp .
sudo docker run -itd -p 21:21 ftp
sudo python test.py 0.0.0.0 21 root picat /example wiggle
sudo docker ps -a
sudo docker logs
$CONTAINERIDcd ~/dockerfiles/mysql
sudo docker build -t mysql .
sudo docker run -itd -p 3306:3306 mysql
mysql -h 127.0.0.1 -u root -p
password: picat
CTRL+Z to escape
sudo docker ps -a
sudo docker logs
$CONTAINERIDcd ~/dockerfiles/postgresql
sudo docker build -t postgresql .
sudo docker run -itd -p 5432:5432 postgresql
mysql -h 127.0.0.1 -U picat picat
CTRL+Z to escape
sudo docker ps -a
sudo docker logs
$CONTAINERIDcd ~/dockerfiles/ssh
sudo docker build -t ssh .
sudo docker run -itd -p 2222:22 ssh
sudo docker ps -a
sudo docker logs
$CONTAINERIDHow to add needed services to goldengirl host
For those who don't know how to
docker
: it would be nice to have a small guide for how to get started working with it, at least in the context of this project.