Question: I have setup a 3 node cluster (with no Internet access) with 1 manager and 2 worker-nodes using the standard swarm documentation.

How does the swarm manager in swarm mode know about the images present in worker nodes?

Lets say I have image A in worker-node-1 and image B in worker-node-2 and no images in the manager-node.

Now how do I start container for image A using the manager? 
Will it start in manager or node-1?

When I query manager for the list of images will it give the whole list with A and B in it?

Does anyone know how this works? 
I couldn’t get the details from the documentation.

Answer: 
The transform attribute needs to evaluate to a string - i.e. `transform="rotate(90deg)"`, so I think you need to concatenate some partial strings:

```
:transform="'rotate(' + deg + ' deg)'"

```
This is a great place to use javascript's [template literals](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals).

```
:transform="`rotate(${deg} deg)`"

```