File: docker.sh

package info (click to toggle)
prometheus-script-exporter 3.0.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 336 kB
  • sloc: makefile: 51; sh: 41
file content (8 lines) | stat: -rwxr-xr-x 254 bytes parent folder | download
1
2
3
4
5
6
7
8
#!/usr/bin/env bash

# Run the following command to start a docker container using the i386/busybox image.
# docker run --name busybox -it --rm i386/busybox

result="$(docker exec -i busybox ls -la | wc -l)"
echo "$result"
echo "number_of_files $result"