func (adpt *DockerBinaryAdapter) FileName() string {
	filename := fmt.Sprintf("%s:%s", adpt.Image(), adpt.Tag())
	filename = strings.Replace(filename, "/", "-", -1)
	filename = strings.Replace(filename, ":", "-", -1)
	filename = strings.Replace(filename, ".", "-", -1)
	filename = strings.Replace(filename, "_", "-", -1)
	return filename
}
FileName returns filename of docker binary.
package script
import (
	"fmt"
	"strings"
	"github.com/k-kinzal/aliases/pkg/aliases/context"
	"github.com/k-kinzal/aliases/pkg/aliases/yaml"
	"github.com/k-kinzal/aliases/pkg/docker"
	"github.com/k-kinzal/aliases/pkg/posix"
)
type DockerBinaryAdapter yaml.Option
func (adpt *DockerBinaryAdapter) Image() string {
	spec := (*yaml.Option)(adpt)
	return spec.Docker.Image
}
func (adpt *DockerBinaryAdapter) Tag() string {
	spec := (*yaml.Option)(adpt)
	return spec.Docker.Tag
}