Aerosol container (9) for use in a dispenser machine (1). The aerosol container comprises a container body (10) comprising an exhaust opening provided with a valve (14). The aerosol container further comprises a spout (20) having a spout housing (21). The spout housing is fixed to the container body. The spout housing circumferences the valve. The spout comprises an inner actuating mechanism (50) for actuating the valve to an open position. The mechanism comprises a drive member (53) to be driven by a drive component of the dispenser machine and an actuator member (59) to act the valve to said open position. The aerosol container has a simple and compact configuration. The provided aerosol container and dispenser machine provide a system in particular suitable for public and working environments, like factories.