Supported tags
2013sp1,2013sp2,2014sp1,2014sp2,2014sp3,2014sp4,2015sp1,2015sp2,2015sp3,2015sp4,2015sp5,2015sp6,2016sp1,2017,2018,2018.7,2019,2019.3,2020,2020sp1,2022,2022.1,2023,2024,2025,2026and2027.
For more information about this image and its history, please see its the GitHub repository.
Usage
To use this image and any of it's supported tags, use docker run.
$ docker run -ti --rm mottosso/maya
Without a "tag", this would download the latest available image of Maya. You can explicitly specify a version with a tag.
$ docker run -ti --rm mottosso/maya:2027
Images occupy around 5 gb of virtual disk space once installed, and about 1.5 gb of bandwidth to download.
Example
This example will run the latest available version of Maya, create a new scene and save it in your current working directory.
$ docker run -ti -v $(pwd):/root/workdir --rm mottosso/maya
$ mayapy
>>> from maya import standalone, cmds
>>> standalone.initialize()
>>> cmds.file(new=True)
>>> cmds.polySphere(radius=2)
>>> cmds.file(rename="my_scene.ma")
>>> cmds.file(save=True, type="mayaAscii")
>>> exit()
$ cp /root/maya/projects/default/scenes/my_scene.ma workdir/my_scene.ma
$ exit
$ cat my_scene.ma