Container locking device on a vehicle, for locking a container with a corner fitting to be transported on a loading surface of the vehicle, comprising a locking housing, a locking bolt and a drive, wherein - the locking bolt has a shaft and a locking head, which in the unlocked state can be inserted via an opening in the corner fitting of the container and in the locked state secures the container via projections engaging behind the opening in the corner fitting, - the locking bolt is mounted with its shaft both axially displaceable and rotatable about its axis in the locking housing, - a wedge slide is mounted in the locking housing so that it can be moved back and forth laterally, i.e. perpendicular to the axis of the locking bolt, and can be driven by the drive, and - the wedge slide has a ramp which engages with the locking bolt during the lateral movement of the wedge slide and gives the locking bolt an axial movement and a rotational movement through 90°, characterized in that - a horizontal locking bolt is mounted in the locking housing so that it can move axially and horizontally, wherein a gooseneck container in the loaded state is arranged on the vehicle with its corner fitting horizontally adjacent and flush to the locking housing, - the horizontal locking bolt has a free end which, in the unlocked state, does not protrude laterally beyond the locking housing and, in the locked state, engages in a lateral opening in the corner fitting of the gooseneck container and secures the gooseneck container via the opening, and - the wedge slide either a) is mounted so that it can move back and forth in the horizontal direction of movement of the horizontal locking bolt and is connected to the horizontal locking bolt, or b) is mounted so that it can move back and forth in a horizontal plane perpendicular to the direction of movement of the horizontal locking bolt and the horizontal locking bolt is operatively connected to the wedge slide via a wedge drive. - the locking bolt has a shaft and a locking head, which in the unlocked state can be inserted via an opening in the corner fitting of the container and in the locked state secures the container via projections engaging behind the opening in the corner fitting, - the locking bolt is mounted with its shaft both axially displaceable and rotatable about its axis in the locking housing, - a wedge slide is mounted in the locking housing so that it can be moved back and forth laterally, i.e. perpendicular to the axis of the locking bolt, and can be driven by the drive, and - the wedge slide has a ramp which engages with the locking bolt during the lateral movement of the wedge slide and gives the locking bolt an axial movement and a rotational movement through 90°, - a horizontal locking bolt is mounted in the locking housing so that it can move axially and horizontally, wherein a gooseneck container in the loaded state is arranged on the vehicle with its corner fitting horizontally adjacent and flush to the locking housing, - the horizontal locking bolt has a free end which, in the unlocked state, does not protrude laterally beyond the locking housing and, in the locked state, engages in a lateral opening in the corner fitting of the gooseneck container and secures the gooseneck container via the opening, and - the wedge slide either a) is mounted so that it can move back and forth in the horizontal direction of movement of the horizontal locking bolt and is connected to the horizontal locking bolt, or b) is mounted so that it can move back and forth in a horizontal plane perpendicular to the direction of movement of the horizontal locking bolt and the horizontal locking bolt is operatively connected to the wedge slide via a wedge drive. a) is mounted so that it can move back and forth in the horizontal direction of movement of the horizontal locking bolt and is connected to the horizontal locking bolt, or b) is mounted so that it can move back and forth in a horizontal plane perpendicular to the direction of movement of the horizontal locking bolt and the horizontal locking bolt is operatively connected to the wedge slide via a wedge drive.