--- alias: user-guide-dock-container description: "This documentation details the process of coupling a container with a load port resource" --- # Dock Container :lock: Container.**Dock** ## Overview This operation is used to couple a **Container** with a **Resource** of type *LoadPort*. ## Setup No special setup is required other than to meet the preconditions of the transaction. ## Preconditions * The **Container** exists, it is Active and Available. * The **Container** ResourceAssociationType must be None. * The **Resource** exists, it is Active and has the ResourceProcessingType property set to LoadPort. * The **Resource** and **Container** are in the same **Facility**. * The **Resource** PositionUnitType is of type **Container**, and the Resource Container Type matches the Container Type. * The **Resource** must have free positions. * If the **Container** PositionUnitType is **Container**, the **Container** must be Topmost, that is, it must not be contained in another **Container**. * If the **Resource** processing type is Process: * The Has Resource Locations property must be `true` and the Resource Location must not already be in use. * The **Container** must have PositionUnitType set to **Resource** and contain only **Resources** of processing type ConsumableFeed. * The **Container** TotalPositions property must be less or equal to PositionsCount property of the Resource Location into which the **Container** is being docked. * The location into which the **Container** is being docked must be a valid Resource Location. Additionally, that Resource Location must not already be in use (via the Resource Container relation), and the **Resource** to which the Resource Location belongs must have a processing type corresponding to Process. ## Sequence of Steps ### Step 1 1. Select the **Resource** in which the **Container** will be docked. 2. If a state model is defined for the **Container**, it is possible to change the state of the **Container**. If the selected state transition contains lookup reasons, it is necessary to select the reason, as well. 3. Optionally, enter a comment. 4. Select **Dock** to complete the operation. ![Screenshot showing a dock container in a graphical user interface.](images/dock_container.png)