mirror of
https://github.com/docker/docs.git
synced 2026-04-01 00:38:52 +07:00
15 lines
215 B
Bash
15 lines
215 B
Bash
#!/bin/bash
|
|
|
|
PLATFORM=`uname -s | tr '[:upper:]' '[:lower:]'`
|
|
ARCH=`uname -m`
|
|
|
|
if [ "$ARCH" = "x86_64" ]; then
|
|
ARCH="amd64"
|
|
else
|
|
ARCH="386"
|
|
fi
|
|
|
|
function machine() {
|
|
./docker-machine_$PLATFORM-$ARCH $@
|
|
}
|