docker run --rm --net=host -v $PWD/tcpdump:/tcpdump kaazing/tcpdump
This will save tcpdump.pcap
to tcpdump
folder under current directory. That file can be opened with WireShark (sometimes it
fails to open the file - check if any concurrent instances of tcpdump
container are still running)
docker run --rm -it -p 21:21 -p 4559-4564:4559-4564 -v c:\temp:/srv -e FTP_USER=ftp -e FTP_PASSWORD=ftp docker.io/panubo/vsftpd:latest
This will map a c:\temp
folder as /srv
folder inside the container, i.e. this is the root of folder that is hosted over FTP