This invention relates to a discharge device of the dispenser gun type, which is suitable in particular for discharging semi-solid materials such as e.g. bone replacement materials. The discharge device comprises an adapter (400) which is removably attached to a main body (110) of the discharge device. A fastening structure for attachment of a container (300) is formed on the adapter substantially along a proximal direction (C) contrary to the feed direction (A). As a result various types of containers can be fastened to the machine without the need to change the mechanism of the device. The container can be provided on both ends with identical external threads and can be closed by closure caps in order to enable intuitive handling. In order to improve access to points which are difficult to reach, the container may be in the form of a curved pipe or may be formed flexibly. The piston rod (200) of the discharge device is then also formed flexibly.