By not setting the variables below I found a bug that causes docker run to fail.
CPUSHARES="" # Proportion of cpu share allocation per container
MEMORY="" # Amount of memory allocated to each container
SWAP="" # Amount of swap memory allocated to each container
shell: CLIENT=98.226.218.52 SRCPORT=59682 SERVER=162.243.237.193 DSTPORT=22 SSH_TTY=/dev/pts/2 TERM=xterm PPID=29251 TMOUT=60
opt: docker run --name=suricata.stuff --tty --hostname suricata --cpu-shares --cpuset-cpus 0 --memory --memory-swap -1
<clipped for brevity> ^ ^
Enjoy yourself!
Training materials are in /exercises
invalid value "--cpuset-cpus" for flag --cpu-shares: strconv.ParseInt: parsing "--cpuset-cpus": invalid syntax
See 'docker run --help'.
By not setting the variables below I found a bug that causes
docker run
to fail.