There are several ways to migrate a non-CDB into a CDB:
See Create a PDB from an existing non-CDB Database in Create and configure a PDB.